You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/12/01 04:08:47 UTC

[iotdb] branch rel/1.0 updated: [To rel/1.0] fix compaction ci (#8277)

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

qiaojialin pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new 739bf205f4 [To rel/1.0] fix compaction ci (#8277)
739bf205f4 is described below

commit 739bf205f445027719ff7eea718aa37fea7848be
Author: Liu Xuxin <37...@users.noreply.github.com>
AuthorDate: Thu Dec 1 12:08:42 2022 +0800

    [To rel/1.0] fix compaction ci (#8277)
---
 client-py/requirements_dev.txt                                        | 2 +-
 .../org/apache/iotdb/db/engine/storagegroup/TsFileResourceList.java   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/client-py/requirements_dev.txt b/client-py/requirements_dev.txt
index 824831a319..b9785d12e2 100644
--- a/client-py/requirements_dev.txt
+++ b/client-py/requirements_dev.txt
@@ -18,7 +18,7 @@
 
 -r requirements.txt
 # Pytest to run tests
-pytest==6.2.2
+pytest==7.2.0
 thrift==0.14.1
 flake8==3.9.0
 black==20.8b1
diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResourceList.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResourceList.java
index 33b5cdfa55..a7c5ea8b3f 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResourceList.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResourceList.java
@@ -250,12 +250,12 @@ public class TsFileResourceList implements List<TsFileResource> {
 
   @Override
   public Object[] toArray() {
-    throw new NotImplementedException();
+    return getArrayList().toArray();
   }
 
   @Override
   public <T> T[] toArray(T[] a) {
-    throw new NotImplementedException();
+    return getArrayList().toArray(a);
   }
 
   @Override