Skip to content

Commit

Permalink
Remove the test because its failing on CI.
Browse files Browse the repository at this point in the history
If we keep that test, it will return different URl for
every other CI. If we do some changes in test, it will
be similar to other tests like setting masterUrl and all.
This started happening after PR fabric8io#1086
Asserting not null and is URL is the only solution
but does not make any difference as we have another tests for this func.
  • Loading branch information
piyush-garg committed Jun 12, 2018
1 parent f2ce871 commit a7f5a60
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,6 @@ private static String decodeUrl(String url) {
}
}

@Test
public void testWithServiceAccount() {
System.setProperty(Config.KUBERNETES_KUBECONFIG_FILE, "/dev/null");
Config config = Config.autoConfigure(null);
assertNotNull(config);
assertEquals("https://kubernetes.default.svc/", config.getMasterUrl());
}

@Test
public void testMasterUrlWithServiceAccount() {
System.setProperty(Config.KUBERNETES_KUBECONFIG_FILE, "/dev/null");
Expand Down

0 comments on commit a7f5a60

Please sign in to comment.