cognitedata / cognite-sdk-python

Cognite Python SDK
https://cognite-sdk-python.readthedocs-hosted.com/
Apache License 2.0
76 stars 27 forks source link

[CDF-21996] Make sdk data workflows test more robust #1835

Closed VerstraeteBert closed 2 months ago

VerstraeteBert commented 2 months ago

Description

Initially, only a single execution was created for the test suite, which always was successful before the fixture dependant tests ran. Now, however, there's multiple executions and some are not terminal yet. To fix the test, we just select the first completed (i.e., now immutable) execution.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.40%. Comparing base (d84b497) to head (bd34af9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1835 +/- ## ========================================== + Coverage 92.39% 92.40% +0.01% ========================================== Files 124 124 Lines 18445 18445 ========================================== + Hits 17042 17044 +2 + Misses 1403 1401 -2 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/1835/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata)