-
Notifications
You must be signed in to change notification settings - Fork 18
Description
When "Uplifting the development version to 0.xx.0", (eg #196 ) is there a way to wait until the new version has been made available in Maven?
I recently had to set up a demo for Galasa. I used SimBank (which is great BTW!).
Unfortunately, when running ./test-locally.sh I initially got this error:
xxxxxxxxxx@macbookpro simplatform % ./test-locally.sh
/opt/homebrew/bin/galasactl
➜ Found dev.galasa.simbank.tests in local Maven repo: /Users/xxxxxxxxxx/.m2/repository/dev/galasa/dev.galasa.simbank.tests/0.43.0/dev.galasa.simbank.tests-0.43.0.jar
➜ Found galasa-simplatform in local Maven repo: /Users/xxxxxxxxxx/.m2/repository/dev/galasa/galasa-simplatform/0.43.0/galasa-simplatform-0.43.0.jar
Running Simbank back-end server application (version 0.43.0) ...
✔ Simbank application started OK.
Running Simbank tests
➜ Command is galasactl runs submit local --obr mvn:dev.galasa/dev.galasa.simbank.obr/0.43.0/obr --obr mvn:dev.galasa/dev.galasa.uber.obr/0.43.0/obr --class dev.galasa.simbank.tests/dev.galasa.simbank.tests.SimBankIVT --log /Users/xxxxxxxxxx/GitHub/simplatform/temp/simbank-test-log.txt
GAL1093E: Failed to submit test (bundle: dev.galasa.simbank.tests, class: dev.galasa.simbank.tests.SimBankIVT). Reason is: GAL1057E: The run identifier could not be detected in trace output of the child process
Error: GAL1093E: Failed to submit test (bundle: dev.galasa.simbank.tests, class: dev.galasa.simbank.tests.SimBankIVT). Reason is: GAL1057E: The run identifier could not be detected in trace output of the child process
✖ Command to run tests failed. rc=1. Log is at /Users/xxxxxxxxxx/GitHub/simplatform/temp/log.txt
After some poking around it seems that 0.43.0 is not yet available in Maven:
I resolved the issue by doing a find/replace in the simplatform project for 0.43.0->0.42.0, rebuilding and re-running the tests, which now pass fine.
This issue is non-obvious to solve for the uninitiated, and right on the golden path for people trying out Galasa for the first time. It would be great if there could be a way to move the SimBank sample forward in a way that's in sync with Maven so that others don't trip up on this :-)
