Skip to content

Add standalone test#122

Merged
black-adder merged 11 commits intomasterfrom
add_standalone_test
Apr 21, 2017
Merged

Add standalone test#122
black-adder merged 11 commits intomasterfrom
add_standalone_test

Conversation

@black-adder
Copy link
Copy Markdown
Contributor

@black-adder black-adder commented Apr 20, 2017

Adding a test for the standalone docker image that creates a trace with via the query service and then retrieves it.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.077% when pulling 14ddcf5 on add_standalone_test into 8d736af on master.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.077% when pulling 35b75a2 on add_standalone_test into 8d736af on master.

Param: 1.0,
},
RPCMetrics: true,
}.InitGlobalTracer(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what is the reason to init global tracer?

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.

so the standalone query service is instrumented.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

my bad. We should change it to not use global tracer, but to expect tracer as an option.

fmt.Sprintf("%s:%s", queryHostPort, queryPort),
})

resp, err := cli.ContainerCreate(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the amount of dependencies this brings is very unfortunate. We don't use any of that for crossdock tests, why is it necessary here? Can't we run the test via docker-compose?

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.

We can... it's just more work... How adamant are you for keeping the number of dependencies low?

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.

nvm

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.077% when pulling f9255ea on add_standalone_test into 8d736af on master.

@black-adder black-adder force-pushed the add_standalone_test branch from e5e5f4a to 41f4314 Compare April 21, 2017 20:04
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.078% when pulling 41f4314 on add_standalone_test into c43817c on master.

@black-adder black-adder merged commit d37898f into master Apr 21, 2017
@black-adder black-adder deleted the add_standalone_test branch April 21, 2017 23:13
ideepika pushed a commit to ideepika/jaeger that referenced this pull request Oct 22, 2017
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