Skip to content

Commit 8c292d2

Browse files
test: fix testSendRequestWithNullRequestId to assert null requestId
The SDK no longer generates a fallback UUID when the server omits x-request-id; getRequestID() now returns null. Update the assertion to match the new behaviour. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 88cec18 commit 8c292d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/skyflow/utils/HttpUtilityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void testSendRequestWithNullRequestId() {
167167
params.addProperty("key", "value");
168168
String response = httpUtility.sendRequest("GET", url, params, headers);
169169
Assert.assertEquals(expected, response);
170-
Assert.assertNotNull(HttpUtility.getRequestID());
170+
Assert.assertNull(HttpUtility.getRequestID());
171171
} catch (Exception e) {
172172
fail(INVALID_EXCEPTION_THROWN);
173173
}

0 commit comments

Comments
 (0)