Skip to content

Commit 3ee672c

Browse files
didiergarciaclaude
andcommitted
test: Fix HttpConfigTest to use lowercase RetryBehavior values
Update test JSON to use lowercase "retry"/"drop" instead of "RETRY"/"DROP" to match the @SerialName annotations added for CDN JSON compatibility. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 3f42d7f commit 3ee672c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/test/kotlin/com/segment/analytics/kotlin/core/retry/HttpConfigTest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ class HttpConfigTest {
2222
"maxBackoffInterval": 600,
2323
"maxTotalBackoffDuration": 3600,
2424
"jitterPercent": 20,
25-
"default4xxBehavior": "DROP",
26-
"default5xxBehavior": "RETRY",
27-
"unknownCodeBehavior": "DROP",
25+
"default4xxBehavior": "drop",
26+
"default5xxBehavior": "retry",
27+
"unknownCodeBehavior": "drop",
2828
"statusCodeOverrides": {
29-
"408": "RETRY",
30-
"501": "DROP"
29+
"408": "retry",
30+
"501": "drop"
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)