Skip to content

Instantly share code, notes, and snippets.

@apenney
Created May 22, 2015 15:16
Show Gist options
  • Save apenney/b0fd06b127077eda582d to your computer and use it in GitHub Desktop.
Save apenney/b0fd06b127077eda582d to your computer and use it in GitHub Desktop.
(venv) dd-agent git:(network-tests) nosetests tests/checks/integration/test_network.py
.F
======================================================================
FAIL: test_check (tests.checks.integration.test_network.TestCheckDisk)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/apenney/source/dd-agent/tests/checks/integration/test_network.py", line 32, in test_check
self.assertMetric(metric, tags=[])
File "/home/apenney/source/dd-agent/tests/checks/common.py", line 303, in assertMetric
self._candidates_size_assert(candidates, count=count, at_least=at_least)
File "/home/apenney/source/dd-agent/tests/checks/common.py", line 280, in _candidates_size_assert
"Needed at least %d candidates, got %d" % (at_least, len(candidates))
AssertionError: Needed at least 1 candidates, got 0
-------------------- >> begin captured logging << --------------------
aggregator: DEBUG: received 0 payloads since last flush
tests: DEBUG: ++++++++ CURRENT STATE ++++++++
METRICS
[]
EVENTS
[]
SERVICE CHECKS
[]
WARNINGS
[]
++++++++++++++++++++++++++++
tests: ERROR: Candidates size assertion for system.net.udp4.connections (value: None, tags: [], count: None, at_least: 1, hostname: None) failed
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 2 tests in 0.033s
FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment