File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ export async function checkIsIndexing(systemStatusUrl: string): Promise<void> {
6
6
const systemStatusResponse = await fetch ( systemStatusUrl ) ;
7
7
if ( systemStatusResponse . status != 200 ) {
8
8
console . log (
9
- "WARNING : The System Status API is currently unavailable, or an incorrect url was passed. Tests may fail for unexpected reasons ."
9
+ "ERROR : The System Status API is currently unavailable, or an incorrect url was passed. Please rerun tests when this is resolved ."
10
10
) ;
11
11
process . exit ( 1 ) ;
12
12
}
13
13
const systemStatusJson = await systemStatusResponse . json ( ) ;
14
- const isUp = false ; // systemStatusJson.up && systemStatusJson.progress.up;
14
+ const isUp = systemStatusJson . up && systemStatusJson . progress . up ;
15
15
const isIndexing =
16
16
systemStatusJson . progress . unindexed_bundles > 0 ||
17
17
systemStatusJson . progress . unindexed_documents > 0 ;
You can’t perform that action at this time.
0 commit comments