Skip to content

Commit 792409d

Browse files
committed
print xml file not exists at error
1 parent a7f392b commit 792409d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/canary/scripts/push_stats_to_cloudwatch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55

66

7-
xml_path = "../canary/integration_tests.xml"
7+
xml_path = "../integration_tests.xml"
88

99
def readXML_and_publish_metrics_to_cw():
1010
if os.path.isfile(xml_path):
@@ -14,6 +14,8 @@ def readXML_and_publish_metrics_to_cw():
1414
tests = testsuite.attrib["tests"]
1515
successes = int(tests) - int(failures)
1616
else:
17+
print("f{xml_path} does not exists.")
18+
print(os.getcwd())
1719
failures = 0
1820
successes = 0
1921
tests = 1

0 commit comments

Comments
 (0)