Skip to content

Commit e580318

Browse files
committed
Add more UT
Signed-off-by: cliu123 <[email protected]>
1 parent 8e53313 commit e580318

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/org/opensearch/jobscheduler/JobSchedulerPluginTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,8 @@ public void testGetActions() {
208208
assertEquals(GetAllLocksAction.INSTANCE, actionHandler1.getAction());
209209
assertEquals(TransportGetAllLocksAction.class, actionHandler1.getTransportAction());
210210
}
211+
212+
public void testGetSdkClient() {
213+
assertNull(plugin.getSdkClient()); // SdkClient is null until createComponents is called
214+
}
211215
}

0 commit comments

Comments
 (0)