Commit 43409034 authored by Claudiu Belu's avatar Claudiu Belu

tests: Adds [LinuxOnly] tag to conformance test

The test "should write entries to /etc/hosts" should have the [LinuxOnly] tag as it cannot pass on Windows; individual files cannot be mounted in Windows Containers. This test was missed in the original PR (https://github.com/kubernetes/kubernetes/pull/73204)
parent 836db5c9
......@@ -140,8 +140,9 @@ var _ = framework.KubeDescribe("Kubelet", func() {
Release : v1.13
Testname: Kubelet, hostAliases
Description: Create a Pod with hostAliases and a container with command to output /etc/hosts entries. Pod's logs MUST have matching entries of specified hostAliases to the output of /etc/hosts entries.
Kubernetes mounts the /etc/hosts file into its containers, however, mounting individual files is not supported on Windows Containers. For this reason, this test is marked LinuxOnly.
*/
framework.ConformanceIt("should write entries to /etc/hosts [NodeConformance]", func() {
framework.ConformanceIt("should write entries to /etc/hosts [LinuxOnly] [NodeConformance]", func() {
podClient.CreateSync(&v1.Pod{
ObjectMeta: metav1.ObjectMeta{
Name: podName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment