Commit 5382cc00 authored by Ramon Nou's avatar Ramon Nou
Browse files

Updated Testing parallelism

parent fba56981
Pipeline #2751 passed with stages
in 11 minutes and 44 seconds
......@@ -138,7 +138,7 @@ gkfs:integration:
- export PATH=${PATH}:/usr/local/bin
- mkdir -p ${BUILD_PATH}/tests/run
- cd ${BUILD_PATH}/tests/integration
- ${PYTEST} -v -n 1
- ${PYTEST} -v -n $(nproc)
${INTEGRATION_TESTS_BIN_PATH}/${SUBTEST}
--basetemp=${BUILD_PATH}/tests/run/${SUBTEST}
--junit-xml=report.xml
......
......@@ -42,11 +42,11 @@ nonexisting = "nonexisting"
#@pytest.mark.xfail(reason="invalid errno returned on success")
def test_pathresolution(gkfs_daemon, gkfs_client):
"""Testing different path resolution capabilities"""
pid = os.getpid().__str__()
mountdir = gkfs_daemon.mountdir
extdir = "/tmp/ext.tmp"
ext_linkdir = "/tmp/link.tmp"
nodir = "/tmp/notexistent"
extdir = "/tmp/" + pid + "ext.tmp"
ext_linkdir = "/tmp/" + pid + "link.tmp"
nodir = "/tmp/" + pid + "notexistent"
intdir = mountdir / "int"
# Just clean if it exists, due to a failed test
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment