Commit caf88e5b authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Fix token startup test

Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com> (cherry picked from commit c98137dd)
parent e3a67ac4
...@@ -251,7 +251,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() { ...@@ -251,7 +251,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
tokenYAML := "token: aaaaaa.bbbbbbbbbbbbbbbb" tokenYAML := "token: aaaaaa.bbbbbbbbbbbbbbbb"
err := StartK3sCluster(append(serverNodeNames, agentNodeNames...), tokenYAML, tokenYAML) err := StartK3sCluster(append(serverNodeNames, agentNodeNames...), tokenYAML, tokenYAML)
Expect(err).To(HaveOccurred()) Expect(err).To(HaveOccurred())
Expect(err).To(ContainSubstring("failed to normalize server token")) logs, err := e2e.GetJournalLogs(serverNodeNames[0])
Expect(err).NotTo(HaveOccurred())
Expect(logs).To(ContainSubstring("failed to normalize server token"))
}) })
It("Kills the cluster", func() { It("Kills the cluster", func() {
err := KillK3sCluster(append(serverNodeNames, agentNodeNames...)) err := KillK3sCluster(append(serverNodeNames, agentNodeNames...))
......
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