Skip to content

Commit 7ce8861

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent c967f65 commit 7ce8861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ stages:
130130
def run_test():
131131
command = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" '
132132
command += "--skip 'TestE2E*' -race -covermode atomic -coverprofile=windows-coverage.out ./npm/... ./cni/... ./platform/..."
133-
testing_process = subprocess.Popen(command, capture_output=True, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
133+
testing_process = subprocess.Popen(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
134134
out, err = testing_process.communicate()
135135
test_exit_code = result.returncode
136136
print("Out:")
@@ -140,7 +140,7 @@ stages:
140140
print(test_exit_code)
141141
142142
command = 'go tool cover -func=windows-coverage.out'
143-
result = subprocess.Popen(command, capture_output=True, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
143+
result = subprocess.Popen(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
144144
out, err = testing_process.communicate()
145145
print("Out:")
146146
print(out)

0 commit comments

Comments
 (0)