Skip to content

Commit 5810495

Browse files
author
Michael Bridgen
committed
Remove a false negative test: the test claimed "[opening a connection
with version 100-0] should succeed IF the highest version supported by the server is a version supported by this client", but this isn't the case with the stricter implementation of protocol negotiation in this branch.
1 parent b93b53e commit 5810495

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/src/com/rabbitmq/examples/TestMain.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,6 @@ public static void runConnectionNegotiationTest(final String hostName, final int
120120
throw new RuntimeException("expected socket close");
121121
} catch (IOException e) {}
122122

123-
//should succeed IF the highest version supported by the
124-
//server is a version supported by this client
125-
conn = new TestConnectionFactory(100, 0, hostName, portNumber).newConnection();
126-
conn.close();
127-
128123
ConnectionFactory factory;
129124
factory = new ConnectionFactory();
130125
factory.setUsername("invalid");

0 commit comments

Comments
 (0)