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

Enhance test coverage #519

Merged
merged 20 commits into from
Mar 20, 2018
Merged

Enhance test coverage #519

merged 20 commits into from
Mar 20, 2018

Conversation

mvollmary
Copy link
Contributor

No description provided.

@mvollmary mvollmary added the Feature Request Request for new functionality to be added to the driver. label Mar 20, 2018
@mvollmary mvollmary requested a review from pluma March 20, 2018 12:19
.unload()
.then(info => {
expect(info).to.have.property("name", collection.name);
expect(info).to.have.property("status", 2); // unloaded
Copy link
Contributor

Choose a reason for hiding this comment

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

@mpv1989 This seems to be timing dependent. On Linux I'm seeing 4 (being unloaded), you're seeing 2 on Windows. This currently means the test will fail on one of the two platforms depending on the value we hardcode. Any idea how to solve this? Maybe allow for 2 or 4 and assume ArangoDB will eventually unload (i.e. eventually move from 4 to 2).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

rewritten test

Copy link
Contributor

@pluma pluma left a comment

Choose a reason for hiding this comment

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

lgtm :shipit:

@mvollmary mvollmary merged commit 40531a5 into master Mar 20, 2018
@pluma pluma mentioned this pull request Mar 21, 2018
@pluma pluma deleted the test-enhancement branch September 5, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request for new functionality to be added to the driver. ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants