Skip to content

Commit 5575f0e

Browse files
authored
Don't run testAddStreamInvalids with server older than 2.10 (#1111)
1 parent 8a3f9ff commit 5575f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public void testUpdateStream() throws Exception {
252252

253253
@Test
254254
public void testAddStreamInvalids() throws Exception {
255-
jsServer.run(nc -> {
255+
jsServer.run(TestBase::atLeast2_10, nc -> {
256256
JetStreamManagement jsm = nc.jetStreamManagement();
257257

258258
StreamConfiguration scNoName = StreamConfiguration.builder().build();

0 commit comments

Comments
 (0)