Skip to content

Commit

Permalink
fix datapusher test
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed Mar 20, 2020
1 parent b42f959 commit 2634dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ services:
dockerfile: Dockerfile.test
depends_on:
- app
- datapusher
2 changes: 1 addition & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function test_datastore_request () {
}

@test "datapusher working" {
datapusher_status=$(curl -X GET "http://datapusher:8800/status" | grep -o "push_to_datastore")
datapusher_status=$(curl -X GET "http://datapusher:8000/status" | grep -o "push_to_datastore")
# {"job_types": ["push_to_datastore"], "name": "datapusher", "stats": {"complete": 0, "error": 0, "pending": 0}, "version": 0.1}
if [ "$datapusher_status" = "push_to_datastore" ]; then
return 0;
Expand Down

0 comments on commit 2634dcd

Please sign in to comment.