pull all non-request scoped values out of context

This commit is contained in:
Joel Wetzell
2026-05-06 21:33:16 -05:00
parent eb25c73f3a
commit 833bd529d6
98 changed files with 328 additions and 584 deletions

View File

@@ -73,7 +73,7 @@ func TestBadDbSqlite(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("db.sqlite expected to fail")

View File

@@ -73,7 +73,7 @@ func TestBadHTTPServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("http.server expected to fail")

View File

@@ -73,7 +73,7 @@ func TestBadMIDIInput(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("midi.input expected to fail")

View File

@@ -73,7 +73,7 @@ func TestBadMIDIOutput(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("midi.output expected to fail")

View File

@@ -116,7 +116,7 @@ func TestBadMQTTClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("mqtt.client expected to fail")

View File

@@ -94,7 +94,7 @@ func TestBadNATSClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("nats.client expected to fail")

View File

@@ -71,7 +71,7 @@ func TestBadNATSServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("nats.server expected to fail")

View File

@@ -59,7 +59,7 @@ func TestBadPSNClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("psn.client expected to fail")

View File

@@ -94,7 +94,7 @@ func TestBadRedisClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("redis.client expected to fail")

View File

@@ -103,7 +103,7 @@ func TestBadSerialClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("serial.client expected to fail")

View File

@@ -88,7 +88,7 @@ func TestBadSIPCallServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("sip.call.server expected to fail")

View File

@@ -107,7 +107,7 @@ func TestBadSIPDTMFServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("sip.dtmf.server expected to fail")

View File

@@ -95,7 +95,7 @@ func TestBadTCPClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("net.tcp.client expected to fail")

View File

@@ -120,7 +120,7 @@ func TestBadTCPServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("net.tcp.server expected to fail")

View File

@@ -75,7 +75,7 @@ func TestBadTimeInterval(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("time.interval expected to fail")

View File

@@ -75,7 +75,7 @@ func TestBadTimeTimer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("time.timer expected to fail")

View File

@@ -95,7 +95,7 @@ func TestBadUDPClient(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("net.udp.client expected to fail")

View File

@@ -102,7 +102,7 @@ func TestBadUDPMulticast(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("net.udp.multicast expected to fail")

View File

@@ -99,7 +99,7 @@ func TestBadUDPServer(t *testing.T) {
return
}
err = moduleInstance.Start(t.Context())
err = moduleInstance.Start(t.Context(), nil)
if err == nil {
t.Fatalf("net.udp.server expected to fail")