Merge pull request #73922 from bclau/tests/adds-linuxonly-tag

tests: Adds [LinuxOnly] tag to conformance test
This commit is contained in:
Kubernetes Prow Robot 2019-02-21 10:42:56 -08:00 committed by GitHub
commit aec0bfe611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,