Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving docker container spinning to a fixture usable in jest #465

Merged
merged 3 commits into from
Apr 10, 2020

Conversation

fguitton
Copy link
Member

@fguitton fguitton commented Apr 8, 2020

This PR aims at trigger container creation from the jest setup directly. Because Jest beforeAll async handling is broken jestjs/jest#8688, jestjs/jest#9685, jestjs/jest#8442 containers are given a generous 10 second spin-up period in the beforeAll. To support Windows more garcefully (particularly the handling of / in minio/minio:latest) the syntax of child_process.spawn is move to using array arguments.

@fguitton fguitton force-pushed the chore/docker-in-jest branch 2 times, most recently from a20f520 to 7803f06 Compare April 8, 2020 18:11
@fguitton fguitton force-pushed the chore/docker-in-jest branch from 7803f06 to 9431a1f Compare April 8, 2020 18:39
@fguitton fguitton force-pushed the chore/docker-in-jest branch from 25ae7eb to bcf5999 Compare April 8, 2020 23:32
@fguitton fguitton requested a review from sou-chon April 8, 2020 23:43
@fguitton fguitton added this to the beta milestone Apr 8, 2020
@fguitton fguitton merged commit 96b1d31 into develop Apr 10, 2020
@fguitton fguitton deleted the chore/docker-in-jest branch April 10, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants