-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
This is a nice idea 👍 Is there an advantage to having the I can think of one: it'll be available in environments which don't have GNU coreutils, e.g., Windows -- and since you mentioned Azure, perhaps that's an important advantage for you :-) |
@squaremo well, doin' it with |
This PR will probably solve #1857. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the issue I mentioned I think this is a good change and will even solve some edge case scenarios people are having issues with at the moment.
Please take a look at my comments (all about code style and not so much about the contents of the PR itself).
@hiddeco I've accepted all proposed changes. |
That would be nice, but I don't think it will happen this time -- this PR changes how long |
Fair enough -- no objection here. |
Ah, you are right 😞 @suvl looking good, tests are failing due to the introduced timeout var not being set in |
@suvl are you planning to continue working on this? If that's the case, please revise on master since we have recently moved to go modules, which is causing a conflict |
@2opremio yeah sorry I was away for a time, but yeah planning on fixing the tests and now on fixing the merge from master. |
EDIT: After re-reading the thread, I think that's what you meant. As you were :-) |
1d18f96
to
18768fc
Compare
Can't review this myself again as I have touched the code, @stefanprodan / @squaremo PTAL. |
18768fc
to
c2c8d0a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c2c8d0a
to
a7b123e
Compare
In our cluster, there's a few operations that almost always take more than 60 seconds.
sync
is the most sensitive for us, as we use it from tools like Jenkins and Azure DevOps to assert that our changes were applied to the cluster.The hard-coded timeout prevented us from having a nice deterministic pipeline, so we need to change it: we added the
--timeout <int>
argument and it'll also be looking to theFLUX_TIMEOUT
env variable.