command/e2etest: fix TestPrimarySeparatePlan test
In 6712192724
we stopped counting data
source destroys in the destroy tally since they are an implementation
detail.
This caused this test to start failing, though since the new behavior is
correct here we just update the test to match.
This commit is contained in:
parent
feb3883568
commit
cb6d4e5f20
|
@ -109,8 +109,8 @@ func TestPrimarySeparatePlan(t *testing.T) {
|
|||
t.Fatalf("unexpected destroy error: %s\nstderr:\n%s", err, stderr)
|
||||
}
|
||||
|
||||
if !strings.Contains(stdout, "Resources: 2 destroyed") {
|
||||
t.Errorf("incorrect destroy tally; want 2 destroyed:\n%s", stdout)
|
||||
if !strings.Contains(stdout, "Resources: 1 destroyed") {
|
||||
t.Errorf("incorrect destroy tally; want 1 destroyed:\n%s", stdout)
|
||||
}
|
||||
|
||||
state, err = tf.LocalState()
|
||||
|
|
Loading…
Reference in New Issue