Skip to content

Conversation

@mahendrapaipuri
Copy link
Contributor

We use timeout argument in git_clone function only to check if repo exists. We should not use it in actual git clone <url> command. Timeout argument to git clone command is removed and documentation is adapted.

Fixes #2238

We use timeout to git_clone function only to check if repo exists. We should not use it in actual git clone <url> command. Timeout argument to git clone command is remove and documentation is adapted
@jenkins-cscs
Copy link
Collaborator

Can I test this patch?

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2021

Codecov Report

Merging #2239 (cd225ad) into master (4ab88be) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2239   +/-   ##
=======================================
  Coverage   85.54%   85.54%           
=======================================
  Files          55       55           
  Lines        9754     9754           
=======================================
  Hits         8344     8344           
  Misses       1410     1410           
Impacted Files Coverage Δ
reframe/core/pipeline.py 92.24% <ø> (ø)
reframe/frontend/cli.py 76.30% <ø> (ø)
reframe/utility/osext.py 84.71% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ab88be...cd225ad. Read the comment docs.

@teojgo
Copy link
Contributor

teojgo commented Oct 26, 2021

Ok to test

Copy link
Contributor

@jjotero jjotero left a comment

Choose a reason for hiding this comment

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

Some minor cosmetic changes

We change name of git_clone_timeout variable to git_timeout as we use this timeout only to check if repo exists. Documentation is modified accordingly.
Copy link
Contributor

@teojgo teojgo left a comment

Choose a reason for hiding this comment

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

Lgtm, I have tested with some actual example and it works fine.

@vkarak vkarak changed the title [bugfix] Remove timeout arg to git clone cmd [bugfix] Remove timeout argument from git clone command Oct 27, 2021
@vkarak vkarak merged commit 7b1635c into reframe-hpc:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git clone should not be interrupted based on the RFM_GIT_CLONE_TIMEOUT value

6 participants