@@ -17,13 +17,13 @@ public void itShouldAllowToRunTwoInstancesWithDifferentVersions() throws Excepti
1717 final EmbeddedPostgres postgres0 = new EmbeddedPostgres ();
1818 postgres0 .start ();
1919 assertThat (postgres0 .getConnectionUrl ().isPresent (), is (true ));
20- checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
20+ checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 10.0 " );
2121 postgres0 .stop ();
2222
23- final EmbeddedPostgres postgres1 = new EmbeddedPostgres (Version .Main .V9_5 );
23+ final EmbeddedPostgres postgres1 = new EmbeddedPostgres (Version .Main .V9_6 );
2424 postgres1 .start ();
2525 assertThat (postgres1 .getConnectionUrl ().isPresent (), is (true ));
26- checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 9.5 " );
26+ checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
2727 postgres1 .stop ();
2828 }
2929
@@ -37,25 +37,25 @@ public void itShouldAllowToRunTwoInstancesAtSameTime() throws Exception {
3737 postgres1 .start ();
3838 assertThat (postgres1 .getConnectionUrl ().isPresent (), is (true ));
3939
40- checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
41- checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
40+ checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 10.0 " );
41+ checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 10.0 " );
4242
4343 postgres0 .stop ();
4444 postgres1 .stop ();
4545 }
4646
4747 @ Test
4848 public void itShouldAllowToRunTwoInstancesAtSameTimeAndWithDifferentVersions () throws Exception {
49- final EmbeddedPostgres postgres0 = new EmbeddedPostgres (Version .Main .V9_5 );
49+ final EmbeddedPostgres postgres0 = new EmbeddedPostgres (Version .Main .V9_6 );
5050 postgres0 .start ();
5151 assertThat (postgres0 .getConnectionUrl ().isPresent (), is (true ));
5252
53- final EmbeddedPostgres postgres1 = new EmbeddedPostgres (Version .Main .V9_6 );
53+ final EmbeddedPostgres postgres1 = new EmbeddedPostgres (Version .Main .V10 );
5454 postgres1 .start ();
5555 assertThat (postgres1 .getConnectionUrl ().isPresent (), is (true ));
5656
57- checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 9.5 " );
58- checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
57+ checkVersion (postgres0 .getConnectionUrl ().get (), "PostgreSQL 9.6 " );
58+ checkVersion (postgres1 .getConnectionUrl ().get (), "PostgreSQL 10.0 " );
5959
6060 postgres0 .stop ();
6161 postgres1 .stop ();
0 commit comments