Skip to content

Commit 1440fab

Browse files
author
Simon MacMullen
committed
Actually that test doesn't make sense, and I think it only succeeds by raciness.
1 parent 522e751 commit 1440fab

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +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-
/* TODO: re-enable this test once the client speaks 0-9-1
126-
conn = new TestConnectionFactory(100, 0, hostName, portNumber).newConnection();
127-
conn.close();
128-
*/
129-
130123
ConnectionFactory factory;
131124
factory = new ConnectionFactory();
132125
factory.setUsername("invalid");

0 commit comments

Comments
 (0)