diff options
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go')
-rw-r--r-- | src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go b/src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go index 99ca604da0..8d897e2055 100644 --- a/src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go +++ b/src/go/collectors/go.d.plugin/modules/intelgpu/intelgpu_test.go @@ -7,6 +7,8 @@ import ( "os" "testing" + "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -28,6 +30,10 @@ func Test_testDataIsValid(t *testing.T) { } } +func TestIntelGPU_ConfigurationSerialize(t *testing.T) { + module.TestConfigurationSerialize(t, &IntelGPU{}, dataConfigJSON, dataConfigYAML) +} + func TestIntelGPU_Init(t *testing.T) { tests := map[string]struct { prepare func(igt *IntelGPU) |