aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-22 15:54:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-22 15:54:57 +0300
commitc99a169c214f6adcb11c7a7963e22a3611230364 (patch)
tree0aeecef613c9aa9e8f680130785f4f0a4dbae7fe /tests
parentf5b367a32af1405b1628b71c9ee1bf14186aefa9 (diff)
Fix integration test
Make it aware of the sleep testscript builtin and the agent instance number.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/testscript4
-rw-r--r--tests/integration/tftp-map4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/testscript b/tests/integration/testscript
index a6f80ca..efd4e22 100644
--- a/tests/integration/testscript
+++ b/tests/integration/testscript
@@ -41,11 +41,11 @@ cxx = g++
#
#\
-wait=5s
+wait=5
controller = https://stage.build2.org/?build-task
#\
-wait=1s
+wait=1
controller = --fake-request ../task --dump-result
pkg = libhello
diff --git a/tests/integration/tftp-map b/tests/integration/tftp-map
index 5371277..54595ab 100644
--- a/tests/integration/tftp-map
+++ b/tests/integration/tftp-map
@@ -7,5 +7,5 @@
# agent: test/agent/
# worker: test/worker/
#
-Gr ^/?(.+)$ /test/agent/build/default/get/\1
-Pr ^/?(.+)$ /test/agent/build/default/put/\1
+Gr ^/?(.+)$ /test/agent/build/default-1/get/\1
+Pr ^/?(.+)$ /test/agent/build/default-1/put/\1