Skip to content

Commit

Permalink
Run tests in alphabetical order so that checkoutsRestored and gitChan…
Browse files Browse the repository at this point in the history
…gelogSmokes pass reliably
  • Loading branch information
dwnusbaum committed Feb 22, 2021
1 parent 9707099 commit 4b25eb9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,17 @@
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.ClassRule;
import org.junit.FixMethodOrder;
import org.junit.Rule;
import org.junit.runners.MethodSorters;
import org.jvnet.hudson.test.BuildWatcher;
import org.jvnet.hudson.test.Issue;
import org.jvnet.hudson.test.RestartableJenkinsRule;
import org.jvnet.hudson.test.TestExtension;
import org.kohsuke.stapler.DataBoundConstructor;
import org.xml.sax.SAXException;

@FixMethodOrder(MethodSorters.NAME_ASCENDING) // TODO: checkoutsRestored and gitChangelogSmokes fail if they run after the other tests.
public class SCMStepTest {

@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
Expand Down

0 comments on commit 4b25eb9

Please sign in to comment.