File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/test/java/com/sonar/scanner/api/it Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 2727 <dependency >
2828 <groupId >org.sonarsource.orchestrator</groupId >
2929 <artifactId >sonar-orchestrator</artifactId >
30- <version >3.34 .0.2692 </version >
30+ <version >3.38 .0.115 </version >
3131 <scope >test</scope >
3232 <exclusions >
3333 <exclusion >
Original file line number Diff line number Diff line change @@ -42,11 +42,8 @@ public class ScannerApiTestSuite {
4242 @ ClassRule
4343 public static final Orchestrator ORCHESTRATOR = Orchestrator .builderEnv ()
4444 .setSonarVersion (getSystemPropertyOrFail (SONAR_RUNTIME_VERSION ))
45- // The scanner api should still be compatible with previous LTS 6.7, and not the 7.9
46- // at the time of writing, so the installed plugins should be compatible with
47- // both 6.7 and 8.x. The latest releases of analysers drop the compatibility with
48- // 6.7, that's why versions are hardcoded here.
49- .addPlugin (MavenLocation .of ("org.sonarsource.javascript" , "sonar-javascript-plugin" , "5.2.1.7778" ))
45+ // The scanner api should still be compatible with 7.9
46+ .addPlugin (MavenLocation .of ("org.sonarsource.javascript" , "sonar-javascript-plugin" , "7.0.1.14561" ))
5047 .build ();
5148
5249 private static String getSystemPropertyOrFail (String orchestratorPropertiesSource ) {
@@ -58,8 +55,7 @@ private static String getSystemPropertyOrFail(String orchestratorPropertiesSourc
5855 }
5956
6057 public static void resetData (Orchestrator orchestrator ) {
61- // We add one day to ensure that today's entries are deleted.
62- Instant instant = Instant .now ().plus (1 , ChronoUnit .DAYS );
58+ Instant instant = Instant .now ();
6359
6460 // The expected format is yyyy-MM-dd.
6561 String currentDateTime = DateTimeFormatter .ISO_LOCAL_DATE
You can’t perform that action at this time.
0 commit comments