aboutsummaryrefslogtreecommitdiff
path: root/collector/netstat_linux_test.go
diff options
context:
space:
mode:
authorMatthias Rampke <matthias@rampke.de>2015-09-26 19:55:35 +0200
committerMatthias Rampke <mr@soundcloud.com>2015-09-28 13:56:22 +0000
commit788ac9a8596c513490842d305c0acb41bb5de436 (patch)
treeffae000f5eed69d1bd001eb3b815cb6de550ae0a /collector/netstat_linux_test.go
parent85eb47197fb7fda72d5ae333125883cf21c81f67 (diff)
downloadprometheus_node_collector-788ac9a8596c513490842d305c0acb41bb5de436.tar.bz2
prometheus_node_collector-788ac9a8596c513490842d305c0acb41bb5de436.tar.xz
prometheus_node_collector-788ac9a8596c513490842d305c0acb41bb5de436.zip
Rearrange fixtures to match "real" proc and sys.
And add some missing fixtures for default collectors, even if they're not read by tests yet.
Diffstat (limited to 'collector/netstat_linux_test.go')
-rw-r--r--collector/netstat_linux_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/netstat_linux_test.go b/collector/netstat_linux_test.go
index 8a35882..c4eaa4c 100644
--- a/collector/netstat_linux_test.go
+++ b/collector/netstat_linux_test.go
@@ -18,7 +18,7 @@ import (
18 "testing" 18 "testing"
19) 19)
20 20
21var fileName = "fixtures/netstat" 21var fileName = "fixtures/proc/net/netstat"
22 22
23func TestNetStats(t *testing.T) { 23func TestNetStats(t *testing.T) {
24 file, err := os.Open(fileName) 24 file, err := os.Open(fileName)