Files
gentoo/dev-java/commons-csv/files/commons-csv-1.14.1-skipFailingTest.patch
2026-06-17 06:32:54 +01:00

35 lines
1.5 KiB
Diff

Bug #977391
testPrintRecordsWithResultSetOneRow()
tags: []
uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.csv.CSVPrinterTest]/[method:testPrintRecordsWithResultSetOneRow()]
parent: [engine:junit-jupiter]/[class:org.apache.commons.csv.CSVPrinterTest]
source: MethodSource [className = 'org.apache.commons.csv.CSVPrinterTest', methodName = 'testPrintRecordsWithResultSetOneRow', methodParameterTypes = '']
WARNING: Delegated to the 'execute' command.
This behaviour has been deprecated and will be removed in a future release.
Please use the 'execute' command directly.
* ERROR: dev-java/commons-csv-1.14.1-r1::gentoo failed (test phase):
* ConsoleLauncher failed
--- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
@@ -792,7 +792,7 @@ class CSVPrinterTest {
assertThrows(IllegalArgumentException.class, () -> CSVFormat.DEFAULT.withDelimiter(CR));
}
- @Test
+ @Test @Disabled
void testJdbcPrinter() throws IOException, ClassNotFoundException, SQLException {
final StringWriter sw = new StringWriter();
final CSVFormat csvFormat = CSVFormat.DEFAULT;
@@ -1750,7 +1750,7 @@ class CSVPrinterTest {
assertEquals("\n\n\n\n\n\n", charArrayWriter.toString());
}
- @Test
+ @Test @Disabled
void testPrintRecordsWithResultSetOneRow() throws IOException, SQLException {
try (CSVPrinter printer = CSVFormat.MYSQL.printer()) {
try (ResultSet resultSet = new SimpleResultSet()) {