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

Integration test fixes #459

Merged
merged 4 commits into from
Apr 25, 2019

Conversation

se7entyse7en
Copy link
Contributor

Partially address #456.

I wrote a proper description for each commit.

On Windows without this build tag the options can be passed as
`/c`.

This will be disabled. See:
https://godoc.org/github.com/jessevdk/go-flags#hdr-Supported_features

Signed-off-by: Lou Marvin Caraig <[email protected]>
Tests ran the bat file for Windows uses the default timeout of
10m. This has to be aligned with the Makefile that uses 20m.

Signed-off-by: Lou Marvin Caraig <[email protected]>
Logs were not properly escaped so this was needed. This is not needed
anynmore since we're using go-cli.

Signed-off-by: Lou Marvin Caraig <[email protected]>
The link is not necessary, maybe it was for some previous
version. As a side-effect that link was adding an additional name to
the `srcd-cli-bblfshd` container that sometimes prevents it from being
pruned correctly.

The problem occurred because during the pruning we use the
first name in the list of names of a container. Once `srcd-cli-bblfshd-web` is
started, the first name of the bblfsh server becomes
`srcd-cli-bblfsh-web/srcd-cli-bblfshd` (due to the link explained
above). This "extra" name is removed once the container
`srcd-cli-bblfshd-web` is removed. So when listing the containers to prune, if
`srcd-cli-bblfshd-web` is removed before
`srcd-cli-bblfsh-web/srcd-cli-bblfshd`,
when we try to remove `srcd-cli-bblfsh-web/srcd-cli-bblfshd` that
container doesn't actually exist anymore, at least it doesn't exist
with that name.

Signed-off-by: Lou Marvin Caraig <[email protected]>
Copy link
Contributor

@smacker smacker left a comment

Choose a reason for hiding this comment

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

👏

Copy link
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

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

👏

@se7entyse7en se7entyse7en merged commit b545f5e into src-d:master Apr 25, 2019
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.

3 participants