Skip to content
Permalink
Browse files

test: use TestUtil.getPort() in V3ParameterListTests instead of hard-…

…coded 5432
  • Loading branch information
vlsi committed Jun 7, 2016
1 parent 1b73bf6 commit 9a4b296c02427a8b21a23e8b6bb37bb8a552121f
Showing with 1 addition and 1 deletion.
  1. +1 −1 pgjdbc/src/test/java/org/postgresql/core/v3/V3ParameterListTests.java
@@ -67,7 +67,7 @@ public V3ParameterListTests(String test) {
protected void setUp() throws Exception {
SocketFactory socketFactory = SocketFactoryFactory.getSocketFactory(System
.getProperties());
HostSpec hostSpec = new HostSpec(TestUtil.getServer(), 5432);
HostSpec hostSpec = new HostSpec(TestUtil.getServer(), TestUtil.getPort());
pci = new ProtocolConnectionImpl(new PGStream(socketFactory, hostSpec), "",
"", new Properties(), new Logger(), 5000);
}

0 comments on commit 9a4b296

Please sign in to comment.
You can’t perform that action at this time.