Skip to content

[TEST] Fix tests that rely on assumption that data dirs are removed after index deletion acknowledged#18681

Merged
ywelsch merged 1 commit intoelastic:masterfrom
ywelsch:fix/tests-index-deletion
Jun 1, 2016
Merged

[TEST] Fix tests that rely on assumption that data dirs are removed after index deletion acknowledged#18681
ywelsch merged 1 commit intoelastic:masterfrom
ywelsch:fix/tests-index-deletion

Conversation

@ywelsch
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch commented Jun 1, 2016

Relates to #18602

@ywelsch ywelsch added >bug >test Issues or PRs that are addressing/adding tests labels Jun 1, 2016
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this always used in an assertBusy context? wonder if we should add it here. This can be suprising...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

At the moment it's only used in these (few) integration tests. I was debating this as well, but I think the method is also useful in unit tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we can maybe have an assertPathHasBeenCleared variant? then people will hopefully see both and choose :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

you mean assertBusyPathHasBeenCleared?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah, sorry.

@bleskes
Copy link
Copy Markdown
Contributor

bleskes commented Jun 1, 2016

I left one suggestion/question . Feel free to push if it doesn't makes sense.

@ywelsch ywelsch force-pushed the fix/tests-index-deletion branch from abc2ff1 to 37adcbe Compare June 1, 2016 15:01
@ywelsch ywelsch merged commit c20bf5d into elastic:master Jun 1, 2016
@ywelsch
Copy link
Copy Markdown
Contributor Author

ywelsch commented Jun 1, 2016

Thanks for reviewing @bleskes!

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

Labels

>bug >test Issues or PRs that are addressing/adding tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants