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

Cleanup pkgJson-restore.spec #634

Merged
merged 3 commits into from
Aug 14, 2018

Conversation

raphinesse
Copy link
Contributor

Only the pkgJson-restore.spec part of #629 as requested by @brodybits. See #629 for a full description.

This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- More meaningful usage of describe blocks
- Wrap all tests in common describe to allow common setup/teardown
- Use fs-extra for setup/teardown
This commit is separated from the previous cleanup to make the diff more
readable.
This commit is separated from the previous cleanup to make the diff more
readable.
@raphinesse
Copy link
Contributor Author

raphinesse commented Aug 14, 2018

Thanks for the quick approval @brodybits 👍

Now there's some unrelated tests failing again. This really starts to piss me off... 😒

I can reproduce this one on master, locally. Bad.

@brodybits
Copy link
Contributor

Now there's some unrelated tests failing again.

I spotted that too, looks like something flakey. Definitely not the first time.

@raphinesse
Copy link
Contributor Author

raphinesse commented Aug 14, 2018

A quick bisect says it was me in 60ba439. Will take a look.

@brodybits
Copy link
Contributor

A quick bisect says it was me in 60ba439.

Wonder if we should start to get rid of Q while you are at it?

@raphinesse
Copy link
Contributor Author

Wonder if we should start to get rid of Q while you are at it?

I have a local branch for that and it's definitely not something to do while we're at something else. There are various blockers.

@raphinesse raphinesse merged commit ad0b0d7 into apache:master Aug 14, 2018
@raphinesse raphinesse deleted the cleanup-spec-restore branch August 14, 2018 21:32
@raphinesse
Copy link
Contributor Author

Merged as CI failures were unrelated

@raphinesse raphinesse mentioned this pull request Aug 15, 2018
7 tasks
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.

None yet

2 participants