From 2a0a77e4b40934b37f9ef70c6dc2b753b9c4506a Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Tue, 20 Feb 2024 21:47:28 -0800 Subject: [PATCH] [e2e test] Fix TestVMAgent (#6008) Fix the TestVMAgent/testExternalNodeSupportBundleCollection test. The test case was not updated correctly after #5538 was merged. Signed-off-by: Antonin Bas --- test/e2e/vmagent_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/vmagent_test.go b/test/e2e/vmagent_test.go index 9f42eb53d05..9b5551d9007 100644 --- a/test/e2e/vmagent_test.go +++ b/test/e2e/vmagent_test.go @@ -216,9 +216,9 @@ func testExternalNodeSupportBundleCollection(t *testing.T, data *TestData, vmLis require.NoError(t, err) var expectedInfoEntries []string if vm.osType == linuxOS { - expectedInfoEntries = []string{"address", "addressgroups", "agentinfo", "appliedtogroups", "flows", "iptables", "link", "logs", "memprofile", "networkpolicies", "ovsports", "route"} + expectedInfoEntries = []string{"address", "addressgroups", "agentinfo", "appliedtogroups", "flows", "goroutinestacks", "iptables", "link", "logs", "memprofile", "networkpolicies", "ovsports", "route"} } else if vm.osType == windowsOS { - expectedInfoEntries = []string{"addressgroups", "agentinfo", "appliedtogroups", "flows", "ipconfig", "logs\\ovs\\ovs-vswitchd.log", "logs\\ovs\\ovsdb-server.log", "memprofile", "network-adapters", "networkpolicies", "ovsports", "routes"} + expectedInfoEntries = []string{"addressgroups", "agentinfo", "appliedtogroups", "flows", "goroutinestacks", "ipconfig", "logs\\ovs\\ovs-vswitchd.log", "logs\\ovs\\ovsdb-server.log", "memprofile", "network-adapters", "networkpolicies", "ovsports", "routes"} } actualExpectedInfoEntries := strings.Split(strings.Trim(stdout, "\n"), "\n") t.Logf("Actual files after extracting SupportBundleCollection tarball %s_%s: %v", vm.nodeName, bundleName, actualExpectedInfoEntries)