8000 Include #67914 fix nightly build package test failures · saltstack/salt@16c842a · GitHub
[go: up one dir, main page]

Skip to content

Commit 16c842a

Browse files
committed
Include #67914 fix nightly build package test failures
1 parent c979b9f commit 16c842a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ def ci_test_onedir_pkgs(session):
19111911
except CommandFailed:
19121912
if os.environ.get("RERUN_FAILURES", "0") == "0":
19131913
# Don't rerun on failures
1914-
return
1914+
sys.exit(1)
19151915

19161916
# Don't print the system information, not the test selection on reruns
19171917
global PRINT_TEST_SELECTION
@@ -1962,7 +1962,7 @@ def ci_test_onedir_pkgs(session):
19621962
except CommandFailed:
19631963
if os.environ.get("RERUN_FAILURES", "0") == "0":
19641964
# Don't rerun on failures
1965-
return
1965+
sys.exit(1)
19661966
cmd_args = chunks["install"]
19671967
pytest_args = (
19681968
common_pytest_args[:]

salt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def string(self):
456456
version_string += f".{self.mbugfix}"
457457
if self.pre_type:
458458
version_string += f"{self.pre_type}{self.pre_num}"
459-
if self.noc and self.sha:
459+
if self.noc is not None and self.sha:
460460
noc = self.noc
461461
if noc < 0:
462462
noc = "0na"

0 commit comments

Comments
 (0)
0