Skip to content

Commit

Permalink
Remove queue related assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Dec 29, 2024
1 parent 7dff426 commit f0c04a6
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import hudson.model.FreeStyleProject;
import hudson.model.Queue;
import hudson.model.Run;
import org.junit.BeforeClass;
import org.junit.ClassRule;
Expand All @@ -30,12 +28,6 @@ public static void createProject() throws Exception {
Run r = project.scheduleBuild2(0).get(); // Schedule a build to ensure the queue item is created
j.assertBuildStatusSuccess(r);
property = new JobInclusionFolderProperty(true, "testGroup");

// Ensure the custom QueueSorter is used
project.getDescriptor();

Queue.Item queueItem = project.getQueueItem();
assertNull("Queue.Item should be null", queueItem);
}

@Test
Expand Down

0 comments on commit f0c04a6

Please sign in to comment.