Skip to content

Commit 41f3de0

Browse files
updated test logs
1 parent 02f4b31 commit 41f3de0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/java/com/uid2/admin/salt/SaltRotationTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -366,17 +366,17 @@ void logsSaltAgesOnRotation() throws Exception {
366366

367367
var expected = Set.of(
368368
// Post-rotation ages, we want to look at current state
369-
"[INFO] salt-count-type=total-salts target-date=2025-01-01 age=0 salt-count=2", // The two rotated salts, used to be 65 and 50 days old
370-
"[INFO] salt-count-type=total-salts target-date=2025-01-01 age=5 salt-count=1",
371-
"[INFO] salt-count-type=total-salts target-date=2025-01-01 age=10 salt-count=1",
372-
"[INFO] salt-count-type=total-salts target-date=2025-01-01 age=50 salt-count=1",
369+
"[INFO] salt_count_type=total-salts target_date=2025-01-01 age=0 salt_count=2", // The two rotated salts, used to be 65 and 50 days old
370+
"[INFO] salt_count_type=total-salts target_date=2025-01-01 age=5 salt_count=1",
371+
"[INFO] salt_count_type=total-salts target_date=2025-01-01 age=10 salt_count=1",
372+
"[INFO] salt_count_type=total-salts target_date=2025-01-01 age=50 salt_count=1",
373373

374374
// Pre-rotation ages, we want to see at which ages salts become refreshable, post rotation some will be 0
375-
"[INFO] salt-count-type=refreshable-salts target-date=2025-01-01 age=5 salt-count=1",
376-
"[INFO] salt-count-type=refreshable-salts target-date=2025-01-01 age=65 salt-count=2",
375+
"[INFO] salt_count_type=refreshable-salts target_date=2025-01-01 age=5 salt_count=1",
376+
"[INFO] salt_count_type=refreshable-salts target_date=2025-01-01 age=65 salt_count=2",
377377

378378
// Pre-rotation ages, post rotation they will all have age 0
379-
"[INFO] salt-count-type=rotated-salts target-date=2025-01-01 age=65 salt-count=2"
379+
"[INFO] salt_count_type=rotated-salts target_date=2025-01-01 age=65 salt_count=2"
380380
);
381381

382382
var minAges = new Duration[]{Duration.ofDays(30), Duration.ofDays(60)};

0 commit comments

Comments
 (0)