Add additional tests for the AllocationToken status transitions

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=245292932
This commit is contained in:
gbrodman 2019-04-25 13:09:52 -07:00 committed by jianglai
parent a0f9e3b3dd
commit 312c1a46ab
2 changed files with 119 additions and 4 deletions

View file

@ -264,9 +264,9 @@ public class AllocationToken extends BackupGroupRoot implements Buildable {
transitions,
TokenStatusTransition.class,
VALID_TOKEN_STATUS_TRANSITIONS,
"",
"tokenStatusTransitions",
NOT_STARTED,
"");
"tokenStatusTransitions must start with NOT_STARTED");
return this;
}
}