Skip to content

Commit 53554c1

Browse files
KaiSernLimCopilot
andcommitted
[test] update route handler allowlist expectation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent e3f379c commit 53554c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/venice-controller/src/test/java/com/linkedin/venice/controller/server/TestVeniceRouteHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void internalHandle(Request request, ControllerResponse veniceResponse) {
5757
ControllerResponse veniceResponse =
5858
ObjectMapperFactory.getInstance().readValue(veniceResponseStr, ControllerResponse.class);
5959
verify(response).status(HttpStatus.SC_FORBIDDEN);
60-
Assert.assertEquals(veniceResponse.getErrorType(), ErrorType.BAD_REQUEST);
60+
Assert.assertEquals(veniceResponse.getErrorType(), ErrorType.ACL_ERROR);
6161
Assert.assertEquals(veniceResponse.getExceptionType(), ExceptionType.BAD_REQUEST);
6262
}
6363
}

0 commit comments

Comments
 (0)