fix processor_test.go
@@ -73,12 +73,14 @@ func TestProcessor(t *testing.T) {
cancellationBroadcaster := NewCancellationBroadcaster()
processor, err := NewProcessor(ctx, "test-hostname", jobQueue, nil, provider, generator, nil, cancellationBroadcaster, ProcessorConfig{
+ Config: &config.Config{
HardTimeout: tc.hardTimeout,
LogTimeout: time.Second,
ScriptUploadTimeout: 3 * time.Second,
StartupTimeout: 4 * time.Second,
MaxLogLength: 4500000,
PayloadFilterExecutable: "filter.py",
+ },
})
if err != nil {
t.Error(err)
