xataio / client-ts

Xata.io SDK for TypeScript and JavaScript
https://xata.io/docs/sdk/typescript/overview
Apache License 2.0
118 stars 8 forks source link

Tests are a bit flaky on CI #28

Closed TejasQ closed 2 years ago

TejasQ commented 2 years ago

They sometimes fail, sometimes don't after a retry. 🧐

SferaDev commented 2 years ago

Yeah, integration tests fail if two actions run at the same time (they interact with the same table).

We could create/delete tables on demand but we would need schemaless operations in the SDK: Related to https://github.com/xataio/frontend-next/discussions/586#discussioncomment-2364140

gimenete commented 2 years ago

For now I think we can prevent this in the workflow: https://github.com/xataio/client-ts/pull/37

Long-term solutions is having environments!