vnb: Add make start2, make test2, and make watch-test2
We wanted to move away from the shell.sh to the modules system.
This CL adds alternative commands that avoid shell.sh
Note: make start/test/watch-test default to the new modules system
start2/test2/watch-test2 run the old shell scripts.
https://github.com/veyron/release-issues/issues/1295
Differences:
- uses modules system to run tests and start webapp
- about 10s slowdown; likely caused by waiting for startup/cleanup
- we don't log quite as much as before because
we were using the log to see if a service had started or not.
I may have missed edge cases from common.sh, run-webapp.sh, and
run-tests.sh had. Please let me know if you notice anything missing.
Later Updates
* Flush xunit output and use XUNIT_OUTPUT_FILE if given
* send exit code if tests fail
* After debugging on Jenkins, the issue was TMPDIR was being set to
the wrong value, so extension wasn't being built
* Updated proxyd to reflect it being moved to profiles.NewProxy
Change-Id: Ic31615cc399d22bd39f551450e128b6e047f1b62
diff --git a/test/integration/services/namespace/service.js b/test/integration/services/namespace/service.js
index aa1f0cc..44bd8d0 100644
--- a/test/integration/services/namespace/service.js
+++ b/test/integration/services/namespace/service.js
@@ -415,7 +415,7 @@
function assertIsAccessible(t, item) {
t.notEqual(item.itemType, ItemTypes.inaccessible, item.mountedName +
': is accessible');
- t.notOk(item.itemError, item.mountedName + ': has no item erros');
+ t.notOk(item.itemError, item.mountedName + ': has no item errors');
}
function assertIsInaccessible(t, item) {