remove concurrency for collector, it causes issues on systems with lots of devices. Just retrieve the data in order for now (eventually we may do it in batches).

This commit is contained in:
Jason Kulatunga
2020-09-21 08:44:50 -06:00
parent 286ec25a94
commit 8b139ad157
2 changed files with 27 additions and 9 deletions
@@ -0,0 +1,15 @@
package detect_test
import (
"github.com/analogj/scrutiny/collector/pkg/detect"
"testing"
)
func TestDevicePrefix(t *testing.T) {
//setup
//test
//assert
require.Equal(t, "/dev/", detect.DevicePrefix())
}