Visitar URL original
Fixing failing tests on CI (#220) · ArcadeData/arcadedb@5120c86 · GitHub
Skip to content

Commit 5120c86

Browse files
authored
Fixing failing tests on CI (#220)
* Fixing failing tests on CI * Testing jacoco exclusion of sql tokens * More tests with Jacoco * Reduced log causing OOM in Jacoco report in CI
1 parent 59784e9 commit 5120c86

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

‎pom.xml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
<version>${jacoco-maven-plugin.version}</version>
378378
<configuration>
379379
<excludes>
380-
<exclude>**/SqlParserTokenManager.*</exclude>
380+
<exclude>**/SqlParserTokenManager.class</exclude>
381381
<exclude>**/static/*</exclude>
382382
<exclude>**/*.bat</exclude>
383383
<exclude>**/*.sh</exclude>
@@ -394,6 +394,11 @@
394394
<goals>
395395
<goal>prepare-agent</goal>
396396
</goals>
397+
<configuration>
398+
<excludes>
399+
<exclude>**/SqlParserTokenManager.class</exclude>
400+
</excludes>
401+
</configuration>
397402
</execution>
398403
<!-- prepare agent before integration tests -->
399404
<execution>
@@ -404,6 +409,9 @@
404409
<phase>pre-integration-test</phase>
405410
<configuration>
406411
<propertyName>itCoverageAgent</propertyName>
412+
<excludes>
413+
<exclude>**/SqlParserTokenManager.class</exclude>
414+
</excludes>
407415
</configuration>
408416
</execution>
409417
<execution>
@@ -412,6 +420,11 @@
412420
<goals>
413421
<goal>report</goal>
414422
</goals>
423+
<configuration>
424+
<excludes>
425+
<exclude>**/SqlParserTokenManager.class</exclude>
426+
</excludes>
427+
</configuration>
415428
</execution>
416429
</executions>
417430
</plugin>

‎server/src/test/java/com/arcadedb/server/ha/ReplicationServerLeaderChanges3TimesIT.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testReplication() {
9494

9595
} catch (Exception e) {
9696
// IGNORE IT
97-
LogManager.instance().log(this, Level.SEVERE, "Generic Exception", e);
97+
LogManager.instance().log(this, Level.SEVERE, "Generic Exception: %s", null, e.getMessage());
9898
}
9999

100100
break;

0 commit comments

Comments
 (0)