Skip to content
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

Test fixes #6150

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Test fixes #6150

merged 3 commits into from
Jun 17, 2024

Conversation

oliver-sanders
Copy link
Member

@oliver-sanders oliver-sanders commented Jun 17, 2024

Fix a couple of functional tests spotted with Cylc 8.3.0 release testing.

(non-release blocker obviously, just test fixes)

These tests don't run in CI, they don't generally get run until release time.

Check the comments on each commit, make sure the fix makes sense.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

* This is testing remote-fileinstallation but the test was configured to
  run on hosts with shared filesystems where remote-fileinstallation is
  not required
* Testing job log retrieval which requires a non-shared filesystem
@oliver-sanders oliver-sanders added this to the 8.3.0 milestone Jun 17, 2024
@oliver-sanders oliver-sanders self-assigned this Jun 17, 2024
@@ -58,7 +58,7 @@ grep_ok "jumped over the lazy dog" "${TEST_NAME}.out"
# remote
TEST_NAME=${TEST_NAME_BASE}-task-status
cylc cat-log -f s "${WORKFLOW_NAME}//1/a-task" >"${TEST_NAME}.out"
grep_ok "CYLC_JOB_RUNNER_NAME=at" "${TEST_NAME}.out"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would fail if run with anything other than an at platform e.g. _remote_background_indep_tcp

@@ -17,7 +17,7 @@
#-------------------------------------------------------------------------------
# Test remote job logs retrieval, requires compatible version of cylc on remote
# job host.
export REQUIRE_PLATFORM='loc:remote'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would fail if run on a platform with a shared filesystem e.g. _remote_background_shared_ssh.

@@ -17,7 +17,7 @@
#-------------------------------------------------------------------------------
# Test reload triggers a fresh file install

export REQUIRE_PLATFORM='loc:remote comms:?(tcp|ssh)'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would fail if run on a platform with a shared filesystem e.g. _remote_background_shared_ssh.

@hjoliver hjoliver merged commit 586907e into cylc:master Jun 17, 2024
20 of 23 checks passed
@oliver-sanders oliver-sanders deleted the test-fixes branch June 18, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants