Skip to content

Commit

Permalink
Modified test to expect failure
Browse files Browse the repository at this point in the history
  • Loading branch information
barrycaceres committed Dec 4, 2024
1 parent 94634c8 commit efe029f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/com/senzing/sdk/core/SzCoreEngineReadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,11 @@ void testExportCsvEntityReport(String columnList,
// try closing the handle twice (should succeed)
engine.closeExport(invalidHandle);

// should not be able to close an invalid handle
fail("Unexpectedly succeeded in closing an invalid export handle.");

} catch (Exception e) {
// TODO(bcaceres): This should have succeeded but currently fails
// fail("Failed to close an export handle more than once.", e);
// expected
}

String fullExport = sw.toString();
Expand Down

0 comments on commit efe029f

Please sign in to comment.