Skip to content

Commit

Permalink
Remove killall from integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Feb 7, 2024
1 parent bc82fc9 commit f079104
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/integration/startup/startup_int_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package integration

import (
"fmt"
"os"
"os/exec"
"path/filepath"
"testing"

Expand Down Expand Up @@ -266,30 +264,6 @@ var _ = Describe("startup tests", Ordered, func() {
Expect(testutil.K3sCleanup(-1, "")).To(Succeed())
})
})
FWhen("a server with a dummy pod", func() {
It("is created with no arguments", func() {
var err error
startupServer, err = testutil.K3sStartServer(startupServerArgs...)
Expect(err).ToNot(HaveOccurred())
})
It("has the default pods deployed", func() {
Eventually(func() error {
return testutil.K3sDefaultDeployments()
}, "120s", "5s").Should(Succeed())
})
It("dies cleanly", func() {
res, err := testutil.K3sCmd("k3s-killall")
Expect(err).ToNot(HaveOccurred())
fmt.Print(res)
cmd := exec.Command("ps aux", "|", "grep k3s")
out, err := cmd.Output()
Expect(err).ToNot(HaveOccurred())
fmt.Print(string(out))
//Expect(testutil.K3sKillServer(startupServer)).To(Succeed())
//Expect(testutil.K3sCleanup(-1, "")).To(Succeed())
})
})

})

var failed bool
Expand Down

0 comments on commit f079104

Please sign in to comment.