Closed MasonM closed 2 months ago
Thanks for the follow-ups and attempt to fix the WIndows flake!
Fixes #12744 (hopefully)
The errors from
CI / Windows Unit Tests (pull_request)
indicate it's trying to write temp files to/tmp
:
For posterity, Mason asked about this on Slack and noted that https://github.com/argoproj/argo-workflows/pull/12071 in this file used os.PathSeparator
, but does not necessarily explain a test flake, as a path issue should fail consistently (at least, in theory, filesystems can be unreliable)
Fixes #12744 (hopefully)
Motivation
This addresses the comments from https://github.com/argoproj/argo-workflows/pull/13660. Also, it hopefully fixes the flaky
CI / Windows Unit Tests (pull_request)
test suite, but this is kind of a shot in the dark.Modifications
The errors from
CI / Windows Unit Tests (pull_request)
indicate it's trying to write temp files to/tmp
:which obviously isn't the right directory under Windows, but the test does pass sometimes, and it seems like writing to the wrong directory would cause consistent failures. Regardless, the tests should be using
os.MkdirTemp()
for this anyway.Verification
Will check action output