Open mgauthier opened 7 years ago
@mgauthier this is resolved by adding 'build' as a command option? eg:
% ./bin/wasabi.sh build start test
that said, we still have this issue:
% ./bin/wasabi.sh build start test stop ... ls: wasabi-functional-test-*-SNAPSHOT-jar-with-dependencies.jar: No such file or directory Error: Could not find or load main class org.testng.TestNG ef4f2b9985aa ea1bea1f34bb 1317c9314d49
@jwtodd Running % ./bin/wasabi.sh test currently results in
ls: wasabi-functional-test-*-SNAPSHOT-jar-with-dependencies.jar: No such file or directory
Error: Could not find or load main class org.testng.TestNG
In the test_api method of wasabi.sh I noticed the code is looking for wasabi-functional-test--SNAPSHOT-jar-with-dependencies.jar, which does not exist, but wasabi-functional-test--jar-with-dependencies.jar does. If I remove the -SNAPSHOT part of the filename, tests seem to run..
[TestNG] Running:
/wasabi-default/modules/functional-test/target/classes/testng.xml
===============================================
IntegrationTestsMeta
Total tests run: 812, Failures: 0, Skips: 41
Configuration Failures: 1, Skips: 12
===============================================
This occurs on OSX Sierra (10.12.4)
% ./bin/wasabi.sh start test ... wasabi: building unable to prepare context: unable to evaluate symlinks in context path: lstat //wasabi-default/modules/main/target/wasabi-main-1.0.20170418213834-development: no such file or directory
wasabi: starting
5cab474bc720951b46e0b37eafad236866074137f331130b8478918195d7e92f
chill'ax error: not started
usage: container.sh [options] [commands]
options: -v | --verify [ true | false ] : verify installation configuration; default: false -m | --migration [ true | false ] : refresh cassandra migration scripts; default: false -s | --sleep [ sleep-time ] : sleep/wait time in seconds; default: 3 -h | --help : help message
commands: start[:wasabi,cassandra,mysql,docker] : start all, wasabi, cassandra, mysql, docker stop[:wasabi,cassandra,mysql,docker] : stop all, wasabi, cassandra, mysql, docker console[:cassandra,mysql] : console all, cassandra, mysql status : status remove[:wasabi,cassandra,mysql]] : remove all, wasabi, cassandra, mysql
error: unable to start ...