Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[misc] SkySQL test stability improvement
Multiple CI simultaneous tests can falsify the results
  • Loading branch information
rusher committed Jan 19, 2021
1 parent bfb426e commit b35361d
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -476,7 +476,9 @@ public void ensureUsingPool() throws Exception {
@Test
public void ensureClosed() throws Throwable {
Assume.assumeTrue(
System.getenv("MAXSCALE_TEST_DISABLE") == null && System.getenv("SKYSQL_HA") == null);
System.getenv("MAXSCALE_TEST_DISABLE") == null
&& System.getenv("SKYSQL_HA") == null
&& System.getenv("SKYSQL") == null);
Thread.sleep(500); // ensure that previous close are effective
int initialConnection = getCurrentConnections();

Expand Down

0 comments on commit b35361d

Please sign in to comment.