Repository: jclouds Updated Branches: refs/heads/master bf3a78d08 -> 13cf2cbab
Fix BaseComputeServiceLiveTest configuration Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/13cf2cba Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/13cf2cba Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/13cf2cba Branch: refs/heads/master Commit: 13cf2cbab920a57853343e608320ae9a95ce76a7 Parents: bf3a78d Author: Ignasi Barrera <[email protected]> Authored: Fri Apr 21 20:08:57 2017 +0200 Committer: Ignasi Barrera <[email protected]> Committed: Sat Apr 22 01:55:10 2017 +0200 ---------------------------------------------------------------------- .../jclouds/compute/internal/BaseComputeServiceLiveTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/13cf2cba/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java ---------------------------------------------------------------------- diff --git a/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java b/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java index e90fd4f..5308c6d 100644 --- a/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java +++ b/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java @@ -98,7 +98,7 @@ import org.jclouds.scriptbuilder.statements.login.AdminAccess; import org.jclouds.ssh.SshClient; import org.jclouds.ssh.SshException; import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeGroups; +import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; @@ -134,7 +134,7 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte protected Template template; protected Map<String, String> keyPair; - @BeforeGroups(groups = { "integration", "live" }) + @BeforeClass(groups = { "integration", "live" }) @Override public void setupContext() { setServiceDefaults(); @@ -146,7 +146,6 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte group = group + "-"; setupKeyPairForTest(); super.setupContext(); - buildSocketTester(); } public void setServiceDefaults() { @@ -169,6 +168,7 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte protected void initializeContext() { super.initializeContext(); client = view.getComputeService(); + buildSocketTester(); } @Test(enabled = true, expectedExceptions = AuthorizationException.class)
