Skip to content

Actual integration testing on CI #328

Closed
@peterbourgon

Description

Go kit includes some packages which are designed to interact with popular open source software. They include

  • sd/etcd — with CoreOS etcd DONE
  • sd/consul — with HashiCorp Consul DONE
  • sd/zk — with Apache ZooKeeper DONE
  • tracing/opentracing — with AppDash, Lightstep, and Zipkin

Many of those packages include proper integration tests that connect to the relevant software. (Some do not.) In this ticket we should

  • Provide simple, reliable integration tests for the packages above that don't have them; and
  • Configure one or more of our CI servers (Travis, Circle, and/or Drone) to run those tests.

Writing the tests should involve only basic connectivity and expected functionality. No need to get clever checking for obscure edge conditions, the big win here is making sure we don't regress.

Running the tests should involve absolutely minimal changes to this repo: no complex setup or teardown scripts embedded into circle.yml, please! Leverage Docker images where appropriate, and go with standalone or single-node test-cluster setups wherever possible.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions