Skip to content

Commit

Permalink
Remove bad assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed Aug 25, 2019
1 parent a657fad commit 36128d4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/integration/assert.sh
Expand Up @@ -16,11 +16,3 @@ if [[ "${num_exceptions}" -ne "${num_exceptions_expected}" ]]; then
echo "Got ${num_exceptions} exceptions but expected ${num_exceptions_expected}" >&2
exit 2
fi

num_error_requests="$(sql_query 'select count(*) from requests where status_code != 200;')"
num_error_requests_expected=1

if [[ "${num_error_requests}" -ne "${num_error_requests_expected}" ]]; then
echo "Got ${num_error_requests} error requests but expected ${num_error_requests_expected}" >&2
exit 3
fi

0 comments on commit 36128d4

Please sign in to comment.