You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2023/07/07 18:30:14 UTC

[solr] branch main updated: Follow up from SOLR-6994 work to fix test

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

epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 583fdf0cc74 Follow up from SOLR-6994 work to fix test
583fdf0cc74 is described below

commit 583fdf0cc7438cd3a50e4d0aa865281ff209c5c6
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Fri Jul 7 14:30:03 2023 -0400

    Follow up from SOLR-6994 work to fix test
---
 solr/core/src/test/org/apache/solr/cli/SimplePostToolTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/cli/SimplePostToolTest.java b/solr/core/src/test/org/apache/solr/cli/SimplePostToolTest.java
index 2f157057175..fdd58149a82 100644
--- a/solr/core/src/test/org/apache/solr/cli/SimplePostToolTest.java
+++ b/solr/core/src/test/org/apache/solr/cli/SimplePostToolTest.java
@@ -165,7 +165,7 @@ public class SimplePostToolTest extends SolrTestCaseJ4 {
     assertEquals("application/msword", SimplePostTool.guessType(f));
     f = new File("foobar");
     assertEquals("application/octet-stream", SimplePostTool.guessType(f));
-    f = new File("foo.jsonl");
+    f = new File("foo.json");
     assertEquals("application/json", SimplePostTool.guessType(f));
   }