Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Created January 24, 2017 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamtur01/99066fb8b2d19ef5df6aa748392eae71 to your computer and use it in GitHub Desktop.
Save jamtur01/99066fb8b2d19ef5df6aa748392eae71 to your computer and use it in GitHub Desktop.
export DATADOG_API_KEY="..." to run these tests.
export HIPCHAT_SERVER="..." to run these tests.
export HIPCHAT_API_KEY="..." to run these tests.
export HIPCHAT_ALERT_ROOM="..." to run these tests.
export LIBRATO_METRICS_USER="..." to run these tests.
export LIBRATO_METRICS_API_KEY="..." to run these tests.
export OPSGENIE_SERVICE_KEY="..." to run these tests.
export OPSGENIE_RECIPIENTS="..." to run these tests.
export SLACK_API_KEY="..." to run these tests.
export SLACK_ALERT_ROOM="..." to run these tests.
export SLACK_ALERT_ACCOUNT="..." to run these tests.
export TELEGRAM_API_TOKEN="..." to run these tests.
export TELEGRAM_CHAT_ID="..." to run these tests.
lein test riemann.blueflood-test
lein test riemann.boundary-test
lein test riemann.campfire-test
lein test riemann.client-test
lein test riemann.common-test
lein test riemann.config-test
lein test riemann.core-test
lein test :only riemann.core-test/query-test
FAIL in (query-test) (core_test.clj:242)
expected: (= r #{(event {:host "cat", :service "miao", :time 3}) (event {:host "kitten", :tags ["whiskers" "paws"], :time 2}) (event {:metric 2, :time 3})})
actual: (not (= #{#riemann.codec.Event{:host "cat", :service "miao", :state nil, :description nil, :metric nil, :tags nil, :time 3.0, :ttl nil} #riemann.codec.Event{:host "kitten", :service nil, :state nil, :description nil, :metric nil, :tags ["whiskers" "paws"], :time 2.0, :ttl nil} #riemann.codec.Event{:host nil, :service nil, :state nil, :description nil, :metric 2, :tags nil, :time 3.0, :ttl nil}} #{#riemann.codec.Event{:host nil, :service nil, :state nil, :description nil, :metric 2, :tags nil, :time 3, :ttl nil} #riemann.codec.Event{:host "cat", :service "miao", :state nil, :description nil, :metric nil, :tags nil, :time 3, :ttl nil} #riemann.codec.Event{:host "kitten", :service nil, :state nil, :description nil, :metric nil, :tags ["whiskers" "paws"], :time 2, :ttl nil}}))
lein test riemann.datadog-test
lein test riemann.deps-test
lein test riemann.druid-test
lein test riemann.elasticsearch-test
lein test riemann.email-test
lein test riemann.expiration-test
lein test riemann.folds-test
lein test riemann.graphite-test
lein test riemann.hipchat-test
lein test riemann.index-test
lein test riemann.influxdb-test
lein test riemann.instrumentation-test
lein test riemann.kairosdb-test
INFO [2017-01-24 18:13:57,187] clojure-agent-send-off-pool-0 - riemann.kairosdb - Connecting to {:protocol :tcp, :host 127.0.0.1, :port 4242}
INFO [2017-01-24 18:13:57,187] clojure-agent-send-off-pool-2 - riemann.kairosdb - Connecting to {:protocol :tcp, :host 127.0.0.1, :port 4242}
INFO [2017-01-24 18:13:57,187] clojure-agent-send-off-pool-3 - riemann.kairosdb - Connecting to {:protocol :tcp, :host 127.0.0.1, :port 4242}
INFO [2017-01-24 18:13:57,187] clojure-agent-send-off-pool-1 - riemann.kairosdb - Connecting to {:protocol :tcp, :host 127.0.0.1, :port 4242}
INFO [2017-01-24 18:13:57,192] clojure-agent-send-off-pool-2 - riemann.kairosdb - Connected
INFO [2017-01-24 18:13:57,192] clojure-agent-send-off-pool-1 - riemann.kairosdb - Connected
INFO [2017-01-24 18:13:57,192] clojure-agent-send-off-pool-3 - riemann.kairosdb - Connected
INFO [2017-01-24 18:13:57,192] clojure-agent-send-off-pool-0 - riemann.kairosdb - Connected
lein test riemann.keenio-test
lein test riemann.librato-test
lein test riemann.logentries-test
lein test riemann.mailgun-test
lein test riemann.nagios-test
lein test riemann.netuitive-test
lein test riemann.opsgenie-test
lein test riemann.pool-test
lein test riemann.prometheus-test
lein test riemann.pubsub-test
lein test riemann.pushover-test
lein test riemann.query-test
lein test riemann.service-test
lein test riemann.shinken-test
lein test riemann.slack-test
lein test riemann.sns-test
lein test riemann.streams-test
lein test riemann.telegram-test
lein test riemann.test-test
lein test riemann.test-utils
lein test riemann.time-test
lein test riemann.time.controlled-test
lein test riemann.transport-test
lein test :only riemann.transport-test/udp-test
FAIL in (udp-test) (transport_test.clj:117)
expected: (= event (deref sink 1000 :timed-out))
actual: (not (= #riemann.codec.Event{:host nil, :service "hi", :state "ok", :description nil, :metric 1.23, :tags nil, :time 1485299640, :ttl nil} #riemann.codec.Event{:host nil, :service "hi", :state "ok", :description nil, :metric 1.23, :tags nil, :time 1.48529964E9, :ttl nil}))
lein test riemann.transport.graphite-test
lein test riemann.transport.opentsdb-test
lein test riemann.twilio-test
lein test riemann.user-test
lein test riemann.victorops-test
lein test riemann.xymon-test
Ran 232 tests containing 1141 assertions.
2 failures, 0 errors.
Tests failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment