Skip to content

Commit

Permalink
refactor(e2e): Disable amqp twin tests due to service bug
Browse files Browse the repository at this point in the history
  • Loading branch information
timtay-microsoft committed Nov 21, 2019
1 parent 3b43d57 commit 1d0dd64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,14 @@ protected static Collection inputsCommon(String publicKeyCert, String privateKey
new Object[][]
{
//sas token, device client
{AMQPS, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{AMQPS_WS, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
//Disabling amqp due to service side issues with preview api version
//{AMQPS, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
//{AMQPS_WS, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{MQTT, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{MQTT_WS, SAS, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},

//x509, device client
{AMQPS, SELF_SIGNED, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
//{AMQPS, SELF_SIGNED, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{MQTT, SELF_SIGNED, ClientType.DEVICE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
}
));
Expand All @@ -369,8 +370,10 @@ protected static Collection inputsCommon(String publicKeyCert, String privateKey
new Object[][]
{
//sas token, module client
{AMQPS, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{AMQPS_WS, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},

//Disabling amqp due to service side issues with preview api version
//{AMQPS, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
//{AMQPS_WS, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{MQTT, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint},
{MQTT_WS, SAS, ClientType.MODULE_CLIENT, publicKeyCert, privateKey, x509Thumbprint}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ public void invokeMethodInvokeParallelSucceed() throws Exception
}

@Test
@Ignore //Disabling amqp due to service side issues with preview api version
@ConditionalIgnoreRule.ConditionalIgnore(condition = StandardTierOnlyRule.class)
public void testTwin() throws IOException, InterruptedException, IotHubException, URISyntaxException
{
Expand Down

0 comments on commit 1d0dd64

Please sign in to comment.