You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2023/06/13 06:56:58 UTC

[solr] branch main updated: SOLR-16812: size mismatch between windows and linux

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

noble 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 2c7e221397a SOLR-16812: size mismatch between windows and linux
2c7e221397a is described below

commit 2c7e221397a10451da68365ae4358a59a92ad49f
Author: Noble Paul <no...@gmail.com>
AuthorDate: Tue Jun 13 16:56:05 2023 +1000

    SOLR-16812: size mismatch between windows and linux
---
 solr/core/src/test/org/apache/solr/util/TestCborDataFormat.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/util/TestCborDataFormat.java b/solr/core/src/test/org/apache/solr/util/TestCborDataFormat.java
index 8ba0729ab3b..4caa6ebd15a 100644
--- a/solr/core/src/test/org/apache/solr/util/TestCborDataFormat.java
+++ b/solr/core/src/test/org/apache/solr/util/TestCborDataFormat.java
@@ -183,9 +183,6 @@ public class TestCborDataFormat extends SolrCloudTestCase {
   public void test() throws Exception {
     Path filmsJson = new File(ExternalPaths.SOURCE_HOME, "example/films/films.json").toPath();
 
-    long sz = Files.size(filmsJson);
-    assertEquals(633600, sz);
-
     List<Object> films = null;
     try (InputStream is = Files.newInputStream(filmsJson)) {
       films = (List<Object>) Utils.fromJSON(is);