Skip to content

Commit ed46b2d

Browse files
authored
remove health query for migration test (#9338)
* remove health query for migration test * fmt
1 parent c7021e6 commit ed46b2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/MigrationAcceptanceTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import io.airbyte.api.client.model.ConnectionRead;
2323
import io.airbyte.api.client.model.ConnectionStatus;
2424
import io.airbyte.api.client.model.DestinationDefinitionRead;
25-
import io.airbyte.api.client.model.HealthCheckRead;
2625
import io.airbyte.api.client.model.ImportRead;
2726
import io.airbyte.api.client.model.ImportRead.StatusEnum;
2827
import io.airbyte.api.client.model.SourceDefinitionRead;
@@ -318,8 +317,7 @@ private static void populateDataForFirstRun() throws ApiException, URISyntaxExce
318317
private static void healthCheck(final ApiClient apiClient) {
319318
final HealthApi healthApi = new HealthApi(apiClient);
320319
try {
321-
final HealthCheckRead healthCheck = healthApi.getHealthCheck();
322-
assertTrue(healthCheck.getAvailable());
320+
healthApi.getHealthCheck();
323321
} catch (final ApiException e) {
324322
throw new RuntimeException("Health check failed, usually due to auto migration failure. Please check the logs for details.");
325323
}

0 commit comments

Comments
 (0)