Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add a user provided conf #157

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

tests: add a user provided conf #157

wants to merge 2 commits into from

Conversation

arjun024
Copy link
Member

@arjun024 arjun024 commented Aug 1, 2023

@arjun024 arjun024 requested a review from a team as a code owner August 1, 2023 23:04
@arjun024 arjun024 added the semver:patch A change requiring a patch version bump label Aug 1, 2023
@@ -111,7 +111,8 @@ func testDefault(t *testing.T, context spec.G, it spec.S) {
Execute(image.ID)
Expect(err).NotTo(HaveOccurred())

Eventually(container).Should(Serve(ContainSubstring("SUCCESS: date loads.")).OnPort(8080).WithEndpoint("/index.php?date"))
Eventually(container).Should(Serve(ContainSubstring("<p>Hello World!</p>SUCCESS: date loads.")).OnPort(8080).WithEndpoint("/index.php?date"))
Eventually(container).Should(Serve(ContainSubstring("<p>Hello World!</p>ERROR: failed to load. </body>")).OnPort(8080).WithEndpoint("/random.userprovidedtest"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be misunderstanding the addition you made to the app, but why do we expect an error when we hit the userprovidedtest endpoint?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants