Skip to content

Commit

Permalink
Sleep for 2 seconds when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Jul 9, 2017
1 parent 9e58da2 commit b852fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
echo -ne 'Testing HTTP server...\t'
./algernon --quiet --httponly --server --boltdb /tmp/_bolt_test.db --addr :45678 &
sleep 1
sleep 2
output=$(curl -sIm3 -o- http://localhost:45678)
if [[ $output == *"Server: Algernon"* ]]; then
echo ok
Expand Down

0 comments on commit b852fa6

Please sign in to comment.