Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

test: Refactor integration tests #450

Merged
merged 8 commits into from
Jan 30, 2022
Merged

Conversation

yevgenypats
Copy link
Member

All integration tests now run from TestIntegration.
This makes the tests faster and remove huge amount of connection
to the database.

Also remove bash magic to test for warnings using grep and do
all the checks on the SDK level.

@github-actions github-actions bot added the test label Jan 28, 2022
All integration tests now run from TestIntegration.
This makes the tests faster and remove huge amount of connection
to the database.

Also remove bash magic to test for warnings using grep and do
all the checks on the SDK level.
yevgenypats added a commit to cloudquery/cq-provider-sdk that referenced this pull request Jan 28, 2022
fix: Child tables weren't deleted
test: split to subtest with t.Run for each table

Related PR: cloudquery/cq-provider-aws#450
Use only golang_lint.yml and doc_validation.yml that are
managed centerally under cloudquery/.github repo
yevgenypats added a commit to cloudquery/cq-provider-sdk that referenced this pull request Jan 30, 2022
fix: Child tables weren't deleted
test: split to subtest with t.Run for each table

Related PR: cloudquery/cq-provider-aws#450
yevgenypats added a commit to cloudquery/cq-provider-sdk that referenced this pull request Jan 30, 2022
fix: Child tables weren't deleted
test: split to subtest with t.Run for each table

Related PR: cloudquery/cq-provider-aws#450
@yevgenypats yevgenypats mentioned this pull request Jan 30, 2022
2 tasks
Copy link
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yevgenypats yevgenypats merged commit 98f54a2 into main Jan 30, 2022
@yevgenypats yevgenypats deleted the test/improve_integration_tests branch January 30, 2022 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants