Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If windows node then TestAntreaPolicy will be skipped
Skip TestFQDNCacheMinTTL if cluster has Windows Nodes The TestFQDNCacheMinTTL e2e test currently does not support Windows. We skip it if any Node in the test cluster is a Windows Node, which is also consistent with other AntreaPolicy e2e tests. Skip TestFQDNCacheMinTTL if cluster has Windows Nodes. Fixes #6891 Skip TestFQDNCacheMinTTL if cluster has Windows Nodes. Fixes #6891 The TestFQDNCacheMinTTL e2e test currently does not support Windows. We skip it if any Node in the test cluster is a Windows Node, which is also consistent with other AntreaPolicy e2e tests. As @antoninbas suggested, I have relocated the skipX condition to the beginning of TestFQDNCacheMinTTL. Now, the skip condition will execute before any subset of TestFQDNCacheMinTTL, making testWithFQDNCacheMinTTL shorter and possibly more efficient. remove an line from antreapolicy_test.go
- Loading branch information