Skip to content

Commit 0488398

Browse files
committed
Further expand test
1 parent 863c37c commit 0488398

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

LDK/test/src/org/labkey/test/tests/external/labModules/LabModulesTest.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,12 +1265,21 @@ private void workbookCreationTest() throws Exception
12651265

12661266
private void verifyOligoCount(int expected) throws Exception
12671267
{
1268+
log("verifying oligo count, expected: " + expected);
1269+
12681270
SelectRowsCommand sr = new SelectRowsCommand("laboratory", "dna_oligos");
1269-
sr.setColumns(Arrays.asList("rowid", "name"));
1271+
sr.setColumns(Arrays.asList("rowid", "name", "container"));
12701272

12711273
Connection cn = WebTestHelper.getRemoteApiConnection();
12721274
SelectRowsResponse srr = sr.execute(cn, getCurrentContainerPath());
12731275

1276+
if (expected != srr.getRowCount().intValue())
1277+
{
1278+
srr.getRows().forEach(row -> {
1279+
log("row: " + row);
1280+
});
1281+
}
1282+
12741283
String oligoNames = srr.getRows().stream().map(row -> row.get("name").toString()).collect(Collectors.joining(","));
12751284
Assert.assertEquals("Incorrect number of oligos, found: " + oligoNames, expected, srr.getRowCount().intValue());
12761285
}

0 commit comments

Comments
 (0)