-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e:httpd-example: Check data returned by webserver
This commit adds a check for the data returned by the httpd webserver. This is useful to be 100% sure we connect to our application webserver, and not to an unrelated one which happened to be running at the address we tried to connect to. This is a bit more involved than expected as the clicumber machinery apparently needs a \n at the end of the data returned by the webserver, otherwise it thinks stdout was empty, and thus the checks for stdout content fail. I did not manage to add \n when using --from-literal, so I had to use a separate file instead.
- Loading branch information
1 parent
3a0cf44
commit c86b2d8
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Hello CRC! | ||
|