Skip to content

Commit

Permalink
remove unused test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzk1 committed Jan 11, 2024
1 parent b880da4 commit f6f6407
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,6 @@ void testGetYarnQueueByIdWithPreconditions() {
final Long targetTeamId = 1L;
YarnQueueServiceImpl yarnQueueServiceImpl = (YarnQueueServiceImpl) yarnQueueService;

// Test for null yarn queue
assertThatThrownBy(() -> yarnQueueServiceImpl.getYarnQueueByIdWithPreconditions(null))
.isInstanceOf(NullPointerException.class)
.hasMessage("Yarn queue mustn't be null.");

// Test for null yarn queue id
YarnQueue yarnQueue = new YarnQueue();
yarnQueue.setId(null);
Expand Down

0 comments on commit f6f6407

Please sign in to comment.