We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2864d99 commit 9d5e605Copy full SHA for 9d5e605
tests/objectbox-java-test/src/test/java/io/objectbox/query/QueryTest.java
@@ -185,8 +185,7 @@ public void useAfterStoreClose_failsIfUsingStore() {
185
query.setParameters("oneOfS", new String[]{"a", "b"});
186
query.setParameter(simpleByteArray, new byte[]{1, 2});
187
188
- // Internal thread pool is shut down as part of closing store, should no longer accept new work.
189
- assertThrows(RejectedExecutionException.class, () -> query.subscribe().observer(data -> {
+ assertThrowsStoreIsClosed(() -> query.subscribe().observer(data -> {
190
}));
191
}
192
0 commit comments