Skip to content

Commit c108755

Browse files
committed
Removed hard dependency to local kubeconfig file for "DefaultConfigurationLoaded". This might prevent Travis-CI to successfuly complete the tests if no kubeconfig is present in the default path.
1 parent df00dc0 commit c108755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/KubernetesClientConfigurationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void ConfigurationFileNotFound()
6969
[Fact]
7070
public void DefaultConfigurationLoaded()
7171
{
72-
var cfg = new KubernetesClientConfiguration();
72+
var cfg = new KubernetesClientConfiguration(new FileInfo(kubeConfigFileName));
7373
Assert.NotNull(cfg.Host);
7474
}
7575

0 commit comments

Comments
 (0)