Skip to content

Commit 19ac032

Browse files
authored
Change test to run against 2.10 or later (#1181)
1 parent 8dbaa7a commit 19ac032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/nats/client/impl/KeyValueTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void testWorkflow() throws Exception {
4747
String stringValue1 = "String Value 1";
4848
String stringValue2 = "String Value 2";
4949

50-
jsServer.run(nc -> {
50+
jsServer.run(TestBase::atLeast2_10, nc -> {
5151
// get the kv management context
5252
KeyValueManagement kvm = nc.keyValueManagement();
5353
nc.keyValueManagement(KeyValueOptions.builder(DEFAULT_JS_OPTIONS).build()); // coverage

0 commit comments

Comments
 (0)