feat(t223): generate tasks from freight items
This commit is contained in:
@@ -27,8 +27,8 @@ func TestRunnerSupportsUpStatusDownAndIdempotentUp(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Up() error = %v", err)
|
||||
}
|
||||
if applied != 12 {
|
||||
t.Fatalf("Up() applied = %d, want 12", applied)
|
||||
if applied != 13 {
|
||||
t.Fatalf("Up() applied = %d, want 13", applied)
|
||||
}
|
||||
assertStatuses(t, runner, map[int64]bool{
|
||||
1: true,
|
||||
@@ -43,6 +43,7 @@ func TestRunnerSupportsUpStatusDownAndIdempotentUp(t *testing.T) {
|
||||
10: true,
|
||||
11: true,
|
||||
12: true,
|
||||
13: true,
|
||||
})
|
||||
|
||||
applied, err = runner.Up(context.Background())
|
||||
@@ -68,7 +69,8 @@ func TestRunnerSupportsUpStatusDownAndIdempotentUp(t *testing.T) {
|
||||
9: true,
|
||||
10: true,
|
||||
11: true,
|
||||
12: false,
|
||||
12: true,
|
||||
13: false,
|
||||
})
|
||||
|
||||
applied, err = runner.Up(context.Background())
|
||||
@@ -91,6 +93,7 @@ func TestRunnerSupportsUpStatusDownAndIdempotentUp(t *testing.T) {
|
||||
10: true,
|
||||
11: true,
|
||||
12: true,
|
||||
13: true,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user