Format migrated worker fields in integration fixtures
This commit is contained in:
@@ -67,9 +67,9 @@ func TestProductionCombatPipelineRetriesMergesNormalizesAndWritesJSON(t *testing
|
|||||||
}
|
}
|
||||||
|
|
||||||
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
||||||
Prepared: prepared,
|
Prepared: prepared,
|
||||||
RawInput: readNPCFixture(t),
|
RawInput: readNPCFixture(t),
|
||||||
Workers: 1,
|
Workers: 1,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Run() error = %v, want nil", err)
|
t.Fatalf("Run() error = %v, want nil", err)
|
||||||
@@ -163,9 +163,9 @@ func TestProductionCombatPipelineAttributesExhaustedInvalidEnumsToShapeValidatio
|
|||||||
t.Fatalf("Prepare() error = %v, want nil", err)
|
t.Fatalf("Prepare() error = %v, want nil", err)
|
||||||
}
|
}
|
||||||
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
||||||
Prepared: prepared,
|
Prepared: prepared,
|
||||||
RawInput: readNPCFixture(t),
|
RawInput: readNPCFixture(t),
|
||||||
Workers: 1,
|
Workers: 1,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Run() error = %v, want non-fatal rejected output", err)
|
t.Fatalf("Run() error = %v, want non-fatal rejected output", err)
|
||||||
@@ -210,9 +210,9 @@ func TestCombatPipelinePublishesUnavailableSceneWarningForMismatchedReference(t
|
|||||||
t.Fatalf("Prepare() error = %v", err)
|
t.Fatalf("Prepare() error = %v", err)
|
||||||
}
|
}
|
||||||
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
||||||
Prepared: prepared,
|
Prepared: prepared,
|
||||||
RawInput: readNPCFixture(t),
|
RawInput: readNPCFixture(t),
|
||||||
Workers: 1,
|
Workers: 1,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Run() error = %v", err)
|
t.Fatalf("Run() error = %v", err)
|
||||||
|
|||||||
@@ -79,10 +79,10 @@ func TestNPCOutputGroundsSpellAndCombatConsumersThroughOneOperation(t *testing.T
|
|||||||
}
|
}
|
||||||
checkpoint := newGeneratedReferenceCheckpointLoader()
|
checkpoint := newGeneratedReferenceCheckpointLoader()
|
||||||
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
||||||
Prepared: prepared,
|
Prepared: prepared,
|
||||||
RawInput: readNPCFixture(t),
|
RawInput: readNPCFixture(t),
|
||||||
Workers: 1,
|
Workers: 1,
|
||||||
Checkpoint: checkpoint,
|
Checkpoint: checkpoint,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Run() error = %v", err)
|
t.Fatalf("Run() error = %v", err)
|
||||||
@@ -471,10 +471,10 @@ func runGroundedPipelineWithRaw(t *testing.T, configValue config.Config, registr
|
|||||||
t.Fatalf("Prepare() error = %v", err)
|
t.Fatalf("Prepare() error = %v", err)
|
||||||
}
|
}
|
||||||
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{
|
||||||
Prepared: prepared,
|
Prepared: prepared,
|
||||||
RawInput: append([]byte(nil), raw...),
|
RawInput: append([]byte(nil), raw...),
|
||||||
Workers: 1,
|
Workers: 1,
|
||||||
Checkpoint: checkpoint,
|
Checkpoint: checkpoint,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Run() error = %v", err)
|
t.Fatalf("Run() error = %v", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user