Skip to content

Commit

Permalink
fix precommit errors
Browse files Browse the repository at this point in the history
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
  • Loading branch information
kaushalmahi12 committed Jul 2, 2024
1 parent 15076eb commit 5a7f405
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ public void testToXContent() throws IOException {
XContentBuilder builder = JsonXContent.contentBuilder();
queryGroup.toXContent(builder, ToXContent.EMPTY_PARAMS);
assertEquals(
String.format(
"{\"_id\":\"%s\",\"name\":\"TestQueryGroup\",\"resiliency_mode\":\"enforced\",\"updatedAt\":%d,\"resourceLimits\":{\"cpu\":0.3,\"memory\":0.4}}",
queryGroupId,
currentTimeInMillis
),
"{\"_id\":\""
+ queryGroupId
+ "\",\"name\":\"TestQueryGroup\",\"resiliency_mode\":\"enforced\",\"updatedAt\":"
+ currentTimeInMillis
+ ",\"resourceLimits\":{\"cpu\":0.3,\"memory\":0.4}}",
builder.toString()
);
}
Expand Down

0 comments on commit 5a7f405

Please sign in to comment.