Skip to content

chore(tests): Try parallel testing#2788

Closed
disq wants to merge 1 commit intocloudquery:mainfrom
disq:chore/try-parallel-testing
Closed

chore(tests): Try parallel testing#2788
disq wants to merge 1 commit intocloudquery:mainfrom
disq:chore/try-parallel-testing

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Oct 13, 2022

Try parallel testing on all tests using mock test helpers.

@disq disq requested a review from a team October 13, 2022 14:17
@erezrokah
Copy link
Copy Markdown
Member

@yevgenypats
Copy link
Copy Markdown
Contributor

For AWS tests changed from 2m 6s to 1m 48s: https://github.com/cloudquery/cloudquery/actions/runs/3243124043/jobs/5317379722 https://github.com/cloudquery/cloudquery/actions/runs/3243092646/jobs/5317306478

But that's only one run

@erezrokah maybe increasing GOMAXPROCS to 4 or 8 will help ?

Copy link
Copy Markdown
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

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

I think this should into the SDK TestSourcePluginSync

@disq
Copy link
Copy Markdown
Member Author

disq commented Oct 13, 2022

TestSourcePluginSync

but that method doesn't take an option, to override (disable) parallel testing?

@yevgenypats
Copy link
Copy Markdown
Contributor

TestSourcePluginSync

but that method doesn't take an option, to override (disable) parallel testing?

I think then it would be great case to introduce option and make it default enabled :)

@disq disq closed this Oct 14, 2022
@disq disq deleted the chore/try-parallel-testing branch October 14, 2022 07:37
kodiakhq bot pushed a commit to cloudquery/plugin-sdk that referenced this pull request Oct 14, 2022
@erezrokah
Copy link
Copy Markdown
Member

@erezrokah maybe increasing GOMAXPROCS to 4 or 8 will help ?

Maybe GitHub machines are not strong enough to take advantage. Regardless this is probably good for local dev machiens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants