fix(test): robustify integration tests #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, integration tests can rely on synchronous state evaluations. These include exact number of objects returned. This is not robust and leads to errors that are technically not errors.
In order to make those tests more robust, we can reduce reliance on synchronous state in asynchronous functions. Or we can dynamically evaluate state right before the evaluations take place, but that may be subject to race conditions.
In general, every integration test needs to be reviewed for this.