Skip to content

Commit

Permalink
Merge pull request #33001 from vespa-engine/make-tester-more-realistic
Browse files Browse the repository at this point in the history
Make tests more realistic
  • Loading branch information
tokle authored Dec 5, 2024
2 parents 5dbc3c6 + fff6d30 commit f303ae6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public void close() {

protected List<String> toAwsStages(SecretVersionState state) {
return switch (state) {
case CURRENT -> List.of("AWSCURRENT");
// We don't remove the AWSPENDING label when setting AWSCURRENT
case CURRENT -> List.of("AWSPENDING", "AWSCURRENT");
case PENDING -> List.of("AWSPENDING");
case PREVIOUS, DEPRECATED -> List.of();
};
Expand Down

0 comments on commit f303ae6

Please sign in to comment.