From 342e3bf0c5f24dd0179f40a2437deda478b56de5 Mon Sep 17 00:00:00 2001 From: ChrisJoosse Date: Tue, 22 Apr 2025 10:48:32 -0700 Subject: [PATCH] Try to avoid intermittent query timeouts by forcing db stats update --- .../test/tests/luminex/LuminexUploadAndLinkTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/luminex/test/src/org/labkey/test/tests/luminex/LuminexUploadAndLinkTest.java b/luminex/test/src/org/labkey/test/tests/luminex/LuminexUploadAndLinkTest.java index 16bf0a09b..c14add2d2 100644 --- a/luminex/test/src/org/labkey/test/tests/luminex/LuminexUploadAndLinkTest.java +++ b/luminex/test/src/org/labkey/test/tests/luminex/LuminexUploadAndLinkTest.java @@ -240,6 +240,14 @@ public void testUploadAndLink() clickButton("Next", 60000); clickButton("Save and Finish"); + // try forcing an immediate stats update to prompt a better query plan selection - hopefully avoids test timeouts + startSystemMaintenance("Database"); + waitForSystemMaintenanceCompletion(); + + // return to the assay runs page + goToProjectHome(TEST_ASSAY_PRJ_LUMINEX); + clickAndWait(Locator.linkWithText(TEST_ASSAY_LUM)); + clickAndWait(Locator.linkWithText("raw and summary"), longWaitForPage); // make sure the Summary, StdDev, and DV columns are visible _customizeViewsHelper.openCustomizeViewPanel();