Skip to content

Commit

Permalink
fix: fix harness running tests without sim running (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleyow authored Dec 19, 2023
1 parent 60820f5 commit 3488e86
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
kafka:
condition: service_started
objstore:
condition: service_started
condition: service_healthy
healthcheck:
test: wget -q http://localhost:3001/health -O /dev/null || exit 1
timeout: 20s
Expand Down Expand Up @@ -240,6 +240,8 @@ services:
condition: service_started
central-ledger:
condition: service_started
simulator:
condition: service_healthy
volumes:
- ./docker/wait4:/opt/app/wait4
- ./docker/config-modifier:/opt/app/config-modifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"fspId": "{$inputs.toFspId}",
"currency": "{$inputs.currency}"
},
"url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}",
"ignoreCallbacks": true
"url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}"
},
{
"id": 3,
Expand Down Expand Up @@ -433,4 +432,4 @@
]
}
]
}
}
10 changes: 5 additions & 5 deletions docker/wait4/wait4.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ module.exports = {
configPath: '../config/default.json'
},
retries: 60
},
{
description: 'MongoDB object store',
uri: 'mongodb://objstore:27017/mlos',
method: 'mongo'
}
// {
// description: 'MongoDB object store',
// uri: 'mongodb://objstore:27017/mlos',
// method: 'mongo'
// }
]
},
{
Expand Down

0 comments on commit 3488e86

Please sign in to comment.