You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2023/09/15 15:27:15 UTC

[tika] 01/02: TIKA-4120 -- comment out test that breaks with recent version of gdalinfo

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 9915cc01482e035d88c5d61893b3c527810dfd4d
Author: tballison <ta...@apache.org>
AuthorDate: Fri Sep 15 11:03:45 2023 -0400

    TIKA-4120 -- comment out test that breaks with recent version of gdalinfo
---
 .../src/test/java/org/apache/tika/parser/gdal/TestGDALParser.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/java/org/apache/tika/parser/gdal/TestGDALParser.java b/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/java/org/apache/tika/parser/gdal/TestGDALParser.java
index 557d11bdb..456e9be10 100644
--- a/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/java/org/apache/tika/parser/gdal/TestGDALParser.java
+++ b/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/java/org/apache/tika/parser/gdal/TestGDALParser.java
@@ -71,8 +71,10 @@ public class TestGDALParser extends TikaTest {
         assertNotNull(met.get("Driver"));
         assertEquals(expectedDriver, met.get("Driver"));
         assumeTrue(met.get("Files") != null);
-        assertNotNull(met.get("Coordinate System"));
-        assertEquals(expectedCoordinateSystem, met.get("Coordinate System"));
+        //recent version of gdalinfo doesn't include "Coordinate System":
+        // GDAL 3.7.1, released 2023/07/06
+        //assertNotNull(met.get("Coordinate System"));
+        //assertEquals(expectedCoordinateSystem, met.get("Coordinate System"));
         assertNotNull(met.get("Size"));
         assertEquals(expectedSize, met.get("Size"));
         assertNotNull(met.get("Upper Right"));