Closed soluchok closed 4 years ago
make unit-test command runs all unit tests. Currently, MongoDB tests are not working properly. MongoDB depends on the docker image. But Image isn’t created anywhere. Theoretically, tests should fail but they are not. The problem is with os.Exit(0). Even if an error happens we exit with a successful code (0). See https://github.com/hyperledger/aries-framework-go-ext/blob/main/component/storage/mongodb/mongodb_test.go#L47
make unit-test
os.Exit(0)
0
What needs to be done?
dockertest
@pfeairheller ^
make unit-test
command runs all unit tests. Currently, MongoDB tests are not working properly. MongoDB depends on the docker image. But Image isn’t created anywhere. Theoretically, tests should fail but they are not. The problem is withos.Exit(0)
. Even if an error happens we exit with a successful code (0
). See https://github.com/hyperledger/aries-framework-go-ext/blob/main/component/storage/mongodb/mongodb_test.go#L47What needs to be done?
0
dockertest
is preferable)