diff options
author | Kristian Aune <kkraune@users.noreply.github.com> | 2016-06-17 16:06:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 16:06:20 +0200 |
commit | 78b09b190f121dfbe7370b24e5455b9aa2450702 (patch) | |
tree | caefd3be8b07456382f6e003f6ddf5c56002e2c0 /standalone-container | |
parent | 77eb221fff4ab953b8288662bc140d56ad56275c (diff) |
remove names
Diffstat (limited to 'standalone-container')
-rw-r--r-- | standalone-container/src/test/scala/com/yahoo/container/standalone/CloudConfigYinstVariablesTest.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/standalone-container/src/test/scala/com/yahoo/container/standalone/CloudConfigYinstVariablesTest.scala b/standalone-container/src/test/scala/com/yahoo/container/standalone/CloudConfigYinstVariablesTest.scala index 0a56f9ac19a..c281cd0eabc 100644 --- a/standalone-container/src/test/scala/com/yahoo/container/standalone/CloudConfigYinstVariablesTest.scala +++ b/standalone-container/src/test/scala/com/yahoo/container/standalone/CloudConfigYinstVariablesTest.scala @@ -16,13 +16,13 @@ class CloudConfigYinstVariablesTest { @Test def test_configserver_parsing { - val parsed = convert("test2-lulf.trondheim.corp.yahoo.com") + val parsed = convert("myhost.mydomain.com") assertThat(parsed.length, is(1)) } @Test def port_can_be_configured { - val parsed = convert("test1-tonyv:123") + val parsed = convert("myhost:123") val port: Int = parsed(0).port.get() assertThat(port, is(123)) } @@ -38,12 +38,12 @@ class CloudConfigYinstVariablesTest { @Test(expected = classOf[IllegalArgumentException]) def missing_port_gives_exception { - convert("test1-tonyv:") + convert("myhost:") } @Test(expected = classOf[IllegalArgumentException]) def non_numeric_port_gives_exception { - convert("test1-tonyv:non-numeric") + convert("myhost:non-numeric") } @Test |