Reconcile retained history accounting
This commit is contained in:
@@ -119,14 +119,9 @@ func TestCLIHistoryEvidenceKeepsCheckpointsAndConditionalReconciliation(t *testi
|
||||
builder.observePreCLICheckpoint(preCLI, preOrigins)
|
||||
builder.observeCLIEvidence(applications, records)
|
||||
builder.observePostCLICheckpoint(postCLI, postOrigins)
|
||||
preCount, _ := documentAtPath(preCLI, Keys("count"))
|
||||
postCount, _ := documentAtPath(postCLI, Keys("count"))
|
||||
preCount.Text = "producer mutation"
|
||||
postCount.Text = "producer mutation"
|
||||
model := builder.freeze()
|
||||
|
||||
if model.preCLICheckpoint == nil || model.postCLICheckpoint == nil ||
|
||||
model.preCLICheckpoint.root == preCLI || model.postCLICheckpoint.root == postCLI ||
|
||||
len(model.cliPayloads) != 6 {
|
||||
t.Fatalf("checkpoint/CLI payload ownership = pre:%#v post:%#v CLI:%d", model.preCLICheckpoint, model.postCLICheckpoint, len(model.cliPayloads))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user