Skip to content

Commit 44c1b5e

Browse files
committed
Attempt to debug intermittent test failures
1 parent a9906e9 commit 44c1b5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LDK/test/src/org/labkey/test/util/external/labModules/LabModuleHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ private String getExampleData(String currentWindow)
288288
String ret = null;
289289

290290
Set<String> handles = _test.getDriver().getWindowHandles();
291-
Assert.assertTrue("Expected more than one open window, was: " + handles.size(), handles.size() > 1);
292-
for (String handle : _test.getDriver().getWindowHandles())
291+
Assert.assertEquals("Expected more than one open window, found: " + StringUtils.join(handles, ","), 2, handles.size());
292+
for (String handle : handles)
293293
{
294294
_test.log("window: " + handle);
295295
if (!currentWindow.equals(handle))

0 commit comments

Comments
 (0)