Skip to content

Commit

Permalink
Moved TestImportantURLs to the networking suite kubernetes#4179
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Rati committed Feb 6, 2015
1 parent d75d36f commit 1be4ab2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 56 deletions.
56 changes: 0 additions & 56 deletions test/e2e/important_urls.go

This file was deleted.

20 changes: 20 additions & 0 deletions test/e2e/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,24 @@ var _ = Describe("Networking", func() {
}
Expect(string(body)).To(Equal("pass"))
})

It("should provide unchanging URLs", func() {
tests := []struct {
path string
}{
{path: "/validate"},
{path: "/healthz"},
// TODO: test proxy links here
}
for _, test := range tests {
By(fmt.Sprintf("testing: %s", test.path))
data, err := c.RESTClient.Get().
AbsPath(test.path).
Do().
Raw()
if err != nil {
Fail(fmt.Sprintf("Failed: %v\nBody: %s", err, string(data)))
}
}
})
})

0 comments on commit 1be4ab2

Please sign in to comment.