File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2135,6 +2135,7 @@ func TestAgent_DevcontainerRecreate(t *testing.T) {
2135
2135
if os .Getenv ("CODER_TEST_USE_DOCKER" ) != "1" {
2136
2136
t .Skip ("Set CODER_TEST_USE_DOCKER=1 to run this test" )
2137
2137
}
2138
+ t .Parallel ()
2138
2139
2139
2140
pool , err := dockertest .NewPool ("" )
2140
2141
require .NoError (t , err , "Could not connect to docker" )
Original file line number Diff line number Diff line change @@ -136,16 +136,16 @@ func WithWatcher(w watcher.Watcher) Option {
136
136
// ScriptLogger is an interface for sending devcontainer logs to the
137
137
// controlplane.
138
138
type ScriptLogger interface {
139
- Send (ctx context.Context , log ... agentsdk.Log ) error
139
+ Send (context.Context , ... agentsdk.Log ) error
140
140
Flush (context.Context ) error
141
141
}
142
142
143
143
// noopScriptLogger is a no-op implementation of the ScriptLogger
144
144
// interface.
145
145
type noopScriptLogger struct {}
146
146
147
- func (noopScriptLogger ) Send (ctx context.Context , log ... agentsdk.Log ) error { return nil }
148
- func (noopScriptLogger ) Flush (ctx context.Context ) error { return nil }
147
+ func (noopScriptLogger ) Send (context.Context , ... agentsdk.Log ) error { return nil }
148
+ func (noopScriptLogger ) Flush (context.Context ) error { return nil }
149
149
150
150
// WithScriptLogger sets the script logger provider for devcontainer operations.
151
151
func WithScriptLogger (scriptLogger func (logSourceID uuid.UUID ) ScriptLogger ) Option {
You can’t perform that action at this time.
0 commit comments