From 3b2f7acd2c8dd705f373ebcfdb9f665c5f4958e7 Mon Sep 17 00:00:00 2001 From: Nisarg Thakkar Date: Thu, 26 Oct 2023 10:07:36 -0700 Subject: [PATCH] [test] Increase test timeout for FC tests after adding compute to them --- .../fastclient/AvroStoreClientEndToEndTest.java | 2 +- .../utils/AbstractClientEndToEndSetup.java | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/AvroStoreClientEndToEndTest.java b/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/AvroStoreClientEndToEndTest.java index 6c46df04f1..53fee34749 100644 --- a/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/AvroStoreClientEndToEndTest.java +++ b/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/AvroStoreClientEndToEndTest.java @@ -396,7 +396,7 @@ public void testFastClientGet( } } - @Test(dataProvider = "fastClientHTTPVariantsAndStoreMetadataFetchModes", timeOut = TIME_OUT) + @Test(dataProvider = "fastClientHTTPVariantsAndStoreMetadataFetchModes", timeOut = 2 * TIME_OUT) public void testFastClientGetWithDifferentHTTPVariants( ClientTestUtils.FastClientHTTPVariant fastClientHTTPVariant, StoreMetadataFetchMode storeMetadataFetchMode) throws Exception { diff --git a/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/utils/AbstractClientEndToEndSetup.java b/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/utils/AbstractClientEndToEndSetup.java index 5b99e42dbb..dc97478ef1 100644 --- a/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/utils/AbstractClientEndToEndSetup.java +++ b/internal/venice-test-common/src/integrationTest/java/com/linkedin/venice/fastclient/utils/AbstractClientEndToEndSetup.java @@ -467,14 +467,11 @@ private void setupDaVinciClientForMetaStore() { * TODO: Explore to see if we can reuse these for all the tests rather than cleaning it up everytime. * */ protected void cleanupDaVinciClientForMetaStore() { - if (daVinciClientForMetaStore != null) { - daVinciClientForMetaStore.close(); - daVinciClientForMetaStore = null; - } - if (daVinciClientFactory != null) { - daVinciClientFactory.close(); - daVinciClientFactory = null; - } + Utils.closeQuietlyWithErrorLogged(daVinciClientForMetaStore); + daVinciClientForMetaStore = null; + + Utils.closeQuietlyWithErrorLogged(daVinciClientFactory); + daVinciClientFactory = null; } protected AvroGenericStoreClient getGenericThinClient(MetricsRepository metricsRepository) {