Reverted tests
This commit is contained in:
parent
fe527ca6d9
commit
dcd32f1aef
|
@ -27,7 +27,6 @@ func TestGatherNoMd5(t *testing.T) {
|
||||||
fields1 := map[string]interface{}{
|
fields1 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
||||||
|
|
||||||
|
@ -37,7 +36,6 @@ func TestGatherNoMd5(t *testing.T) {
|
||||||
fields2 := map[string]interface{}{
|
fields2 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
||||||
|
|
||||||
|
@ -69,7 +67,6 @@ func TestGatherExplicitFiles(t *testing.T) {
|
||||||
fields1 := map[string]interface{}{
|
fields1 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
||||||
|
@ -80,7 +77,6 @@ func TestGatherExplicitFiles(t *testing.T) {
|
||||||
fields2 := map[string]interface{}{
|
fields2 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
||||||
|
@ -111,7 +107,6 @@ func TestGatherGlob(t *testing.T) {
|
||||||
fields1 := map[string]interface{}{
|
fields1 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
||||||
|
@ -122,7 +117,6 @@ func TestGatherGlob(t *testing.T) {
|
||||||
fields2 := map[string]interface{}{
|
fields2 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
||||||
|
@ -145,7 +139,6 @@ func TestGatherSuperAsterisk(t *testing.T) {
|
||||||
fields1 := map[string]interface{}{
|
fields1 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
acc.AssertContainsTaggedFields(t, "filestat", fields1, tags1)
|
||||||
|
@ -156,7 +149,6 @@ func TestGatherSuperAsterisk(t *testing.T) {
|
||||||
fields2 := map[string]interface{}{
|
fields2 := map[string]interface{}{
|
||||||
"size_bytes": int64(0),
|
"size_bytes": int64(0),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
"md5_sum": "d41d8cd98f00b204e9800998ecf8427e",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
acc.AssertContainsTaggedFields(t, "filestat", fields2, tags2)
|
||||||
|
@ -167,7 +159,6 @@ func TestGatherSuperAsterisk(t *testing.T) {
|
||||||
fields3 := map[string]interface{}{
|
fields3 := map[string]interface{}{
|
||||||
"size_bytes": int64(104),
|
"size_bytes": int64(104),
|
||||||
"exists": int64(1),
|
"exists": int64(1),
|
||||||
"modification_time": int64(1)
|
|
||||||
"md5_sum": "5a7e9b77fa25e7bb411dbd17cf403c1f",
|
"md5_sum": "5a7e9b77fa25e7bb411dbd17cf403c1f",
|
||||||
}
|
}
|
||||||
acc.AssertContainsTaggedFields(t, "filestat", fields3, tags3)
|
acc.AssertContainsTaggedFields(t, "filestat", fields3, tags3)
|
||||||
|
|
Loading…
Reference in New Issue