package fingerprint import ( "testing" "github.com/hashicorp/nomad/ci" "github.com/hashicorp/nomad/helper/testlog" "github.com/hashicorp/nomad/nomad/structs" ) func TestSignalFingerprint(t *testing.T) { ci.Parallel(t) fp := NewSignalFingerprint(testlog.HCLogger(t)) node := &structs.Node{ Attributes: make(map[string]string), } response := assertFingerprintOK(t, fp, node) assertNodeAttributeContains(t, response.Attributes, "os.signals") }