-
Notifications
You must be signed in to change notification settings - Fork 166
[XrdPfc] Add simple integration test for the PFC #2477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This adds a simple integration test that downloads a file from a XCache server through another fixture as an origin, then verifies the file is unchanged.
|
This test is failing on my machine as follows: |
|
There seems to be a race condition between the host and cache test setups. I will fix. |
|
@amadio - indeed, it looks like the setup.sh script does not verify that XRootD is functioning and listening on a port before proceeding. I'm surprised this doesn't lead to other failures? This is the (ugly) shell code I use to force my unit tests to pause until XRootD is ready: If you know of better ways, I'll be quite interested! |
This adds a simple integration test that downloads a file from a XCache server through another fixture as an origin, then verifies the file is unchanged.
@amadio - the approach is as what we discussed earlier today ... added explicit dependency between fixtures but did not rework how the CMakeLists.txt is working.