Skip to content

Commit 6513dd1

Browse files
Remove out.requests.txt golden files from DMS tests
Add print_requests.py cleanup at the end of each script to clear remaining recorded requests, preventing out.requests.txt from being generated as a golden file. DMS requests are already printed inline in output.txt. Co-authored-by: Isaac
1 parent 79b4027 commit 6513dd1

22 files changed

Lines changed: 17 additions & 4677 deletions

File tree

acceptance/bundle/dms/add-resources/out.requests.txt

Lines changed: 0 additions & 1121 deletions
This file was deleted.

acceptance/bundle/dms/add-resources/out.test.toml

Lines changed: 0 additions & 6 deletions
This file was deleted.

acceptance/bundle/dms/add-resources/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Traceback (most recent call last):
2020
data = fobj.read()
2121
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
2222
return codecs.ascii_decode(input, self.errors)[0]
23-
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7053: ordinal not in range(128)
23+
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6985: ordinal not in range(128)
2424

2525
Exit code: 1

acceptance/bundle/dms/add-resources/script

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ trace print_requests.py --get //bundle ^//workspace-files ^//import-file
3131
# Clean up.
3232
rm -rf .databricks
3333
$CLI bundle destroy --auto-approve > /dev/null 2>&1
34+
print_requests.py --get > /dev/null 2>&1 || true

0 commit comments

Comments
 (0)