1
0
mirror of synced 2025-12-19 18:14:56 -05:00

SAT: DX improvements, better error handling and more (#4260)

small fixes for SAT for better DX:

- better stack trace in case of error inside the connector, print only relevant information with proper formatting (multiline stack trace instead of single string)
- better logging - print message about image pulling only when it actually happens, stop tests if image not found
- using discovery command for json_schema, when configured_catalog will be loaded we populate `json_schema` from a schema that we get from discovery command, the result is cached for all session duration.
- better record comparison, takes care of lists inside dicts - because lists are unordered we will have false negatives when compare serialized records.
- copied pytest config to airbyte root folder, so when pytest runs tests locally it can find it, this will affect all local execution of pytest
- add IPython as a standard debugger

Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com>
This commit is contained in:
Eugene Kulak
2021-06-22 10:42:10 +03:00
committed by GitHub
parent 39fe5fed16
commit cef8b80c6b
9 changed files with 67 additions and 27 deletions

3
pytest.ini Normal file
View File

@@ -0,0 +1,3 @@
[pytest]
addopts = -r a --capture=no -vv --log-level=INFO --color=yes