grafeas / kritis

Deploy-time Policy Enforcer for Kubernetes applications
https://github.com/grafeas/kritis/blob/master/docs/binary-authorization.md
Apache License 2.0
696 stars 133 forks source link

Fix cloud build signer integration test #578

Closed ooq closed 4 years ago

ooq commented 4 years ago

Explicitly read created attestation before deployment.

I believe the test error is caused by read-after-write consistency in occurrence storage. Sometimes an explicit read could trigger consistency...we never know, but at least the tests pass in this PR.

ooq commented 4 years ago

@treyridley This seems to fix the issue. (or it may still be flaky) Can you review it?