Fix GetHeadFromYaml is flakey (#3251)

* Forgot clear cache needs to be within the loop

* space
This commit is contained in:
terence tsao 2019-08-20 19:57:35 -06:00 committed by GitHub
parent e330fa5733
commit 6195a0bfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ func TestGetHeadFromYaml(t *testing.T) {
if !bytes.Equal(head, wantedHead) {
t.Errorf("wanted root %#x, got root %#x", wantedHead, head)
}
}
helpers.ClearAllCaches()
helpers.ClearAllCaches()
}
}