mirror of https://github.com/apache/jclouds.git
Merge pull request #437 from andreisavu/1.4.x-enum-for-protocol
Use enum for protocol assertion in live tests
This commit is contained in:
commit
02e3939829
|
@ -109,7 +109,7 @@ public class FirewallClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
assertEquals(portForwardingRule.getIPAddressId(), ip.getId());
|
||||
assertEquals(portForwardingRule.getVirtualMachineId(), vm.getId());
|
||||
assertEquals(portForwardingRule.getPublicPort(), 22);
|
||||
assertEquals(portForwardingRule.getProtocol(), "tcp");
|
||||
assertEquals(portForwardingRule.getProtocol(), PortForwardingRule.Protocol.TCP);
|
||||
|
||||
checkPortForwardingRule(portForwardingRule);
|
||||
checkSSH(new IPSocket(ip.getIPAddress(), 22));
|
||||
|
|
Loading…
Reference in New Issue