Permalink
Browse files

Disabled webcam tests on CI.

  • Loading branch information...
hekonsek committed Apr 19, 2016
1 parent aa97171 commit 644daaf1c63bdaad1a1441d438a7aa241e6ed24e
Showing with 5 additions and 0 deletions.
  1. +5 −0 tooling/shell/src/test/groovy/io/rhiot/tooling/shell/ShellTest.groovy
@@ -34,6 +34,9 @@ import static com.google.common.truth.Truth.assertThat
import static io.rhiot.utils.Networks.findAvailableTcpPort
import static io.rhiot.utils.Properties.setIntProperty
import static io.rhiot.utils.Uuids.uuid
+import static java.lang.Boolean.parseBoolean
+import static java.lang.System.getenv
+import static org.junit.Assume.assumeFalse
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = Shell.class)
@@ -177,6 +180,8 @@ class ShellTest {
@Test
void shouldNotFindDevicesForBootDelegationConfiguration() {
+ assumeFalse(parseBoolean(getenv("IS_TRAVIS")));
+
// When
def output = shellClient.command("kura-config-bootdelegation")

0 comments on commit 644daaf

Please sign in to comment.