Commit 8a2b71c9 authored by Marc Vef's avatar Marc Vef
Browse files

Merge branch 'rnou/222-path-resolution-tests-does-not-allow-parallelism' into 'master'

Resolve "Path resolution tests does not allow parallelism"

Closes #222

See merge request !145
parents fba56981 d8c48c13
Pipeline #2763 failed with stages
in 6 minutes and 23 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
......
......@@ -8,6 +8,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### New
### Changed
- Support parallelism for path resolution tests ([!145](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/145)).
### Removed
### Fixed
- Using `unlink` now fails if it is a directory unless the `AT_REMOVEDIR` flag is used (POSIX compliance) ([!139](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/139)).
......
......@@ -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