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

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit a604a56b6728c500602df23e2daddc7fb7f91fff
Author: Murtadha Hubail <[email protected]>
AuthorDate: Wed Nov 27 16:55:03 2024 +0300

    [NO ISSUE][TEST] Remove invalid JVM args from tests
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    
    - Remove invalid JVM args from tests.
    - Fix resource computer test.
    
    Ex-ref: MB-64402
    Change-Id: I2c409b46fa0a23b8fe5c55eba06d95851ed2a08d
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19136
    Tested-by: Jenkins <[email protected]>
    Tested-by: Murtadha Hubail <[email protected]>
    Reviewed-by: Murtadha Hubail <[email protected]>
    Reviewed-by: Ali Alsuliman <[email protected]>
---
 asterixdb/asterix-app/pom.xml                                  |  2 +-
 .../apache/asterix/app/resource/PlanStagesGeneratorTest.java   | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 2285d77be9..42da7c9743 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -407,7 +407,7 @@
                     -Dfile.encoding=UTF-8
                     -Xdebug
                     
-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=${debug.suspend.flag}
-                    
-Xloggc:"${project.build.directory}/surefire-reports/SqlppExecutionTest-%p-gc.log"
 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:GCLogFileSize=10M
+                    
-Xloggc:"${project.build.directory}/surefire-reports/SqlppExecutionTest-%p-gc.log"
 -XX:+PrintGC
                   </argLine>
                 </configuration>
                 <goals>
diff --git 
a/asterixdb/asterix-app/src/test/java/org/apache/asterix/app/resource/PlanStagesGeneratorTest.java
 
b/asterixdb/asterix-app/src/test/java/org/apache/asterix/app/resource/PlanStagesGeneratorTest.java
index 77d0e6058f..041a7da451 100644
--- 
a/asterixdb/asterix-app/src/test/java/org/apache/asterix/app/resource/PlanStagesGeneratorTest.java
+++ 
b/asterixdb/asterix-app/src/test/java/org/apache/asterix/app/resource/PlanStagesGeneratorTest.java
@@ -85,7 +85,7 @@ public class PlanStagesGeneratorTest {
         ets.setExecutionMode(UNPARTITIONED);
         ets.setPhysicalOperator(new EmptyTupleSourcePOperator());
 
-        AssignOperator assignOperator = new 
AssignOperator(Collections.emptyList(), null);
+        AssignOperator assignOperator = new 
AssignOperator(Collections.emptyList(), Collections.emptyList());
         assignOperator.setExecutionMode(UNPARTITIONED);
         assignOperator.setPhysicalOperator(new AssignPOperator());
         assignOperator.getInputs().add(new MutableObject<>(ets));
@@ -95,7 +95,7 @@ public class PlanStagesGeneratorTest {
         exchange.setPhysicalOperator(new OneToOneExchangePOperator());
         exchange.getInputs().add(new MutableObject<>(assignOperator));
 
-        DistributeResultOperator resultOperator = new 
DistributeResultOperator(null, null, null);
+        DistributeResultOperator resultOperator = new 
DistributeResultOperator(Collections.emptyList(), null, null);
         resultOperator.setExecutionMode(UNPARTITIONED);
         resultOperator.setPhysicalOperator(new DistributeResultPOperator());
         resultOperator.getInputs().add(new MutableObject<>(exchange));
@@ -137,7 +137,7 @@ public class PlanStagesGeneratorTest {
         orderOperator.setPhysicalOperator(new StableSortPOperator());
         orderOperator.getInputs().add(new MutableObject<>(groupByOperator));
 
-        DistributeResultOperator resultOperator = new 
DistributeResultOperator(null, null, null);
+        DistributeResultOperator resultOperator = new 
DistributeResultOperator(Collections.emptyList(), null, null);
         resultOperator.setExecutionMode(PARTITIONED);
         resultOperator.setPhysicalOperator(new DistributeResultPOperator());
         resultOperator.getInputs().add(new MutableObject<>(orderOperator));
@@ -218,7 +218,7 @@ public class PlanStagesGeneratorTest {
         secondJoin.getInputs().add(new MutableObject<>(exchangeOperator1));
         secondJoin.getInputs().add(new MutableObject<>(exchangeOperator2));
 
-        DistributeResultOperator resultOperator = new 
DistributeResultOperator(null, null, null);
+        DistributeResultOperator resultOperator = new 
DistributeResultOperator(Collections.emptyList(), null, null);
         resultOperator.setExecutionMode(PARTITIONED);
         resultOperator.setPhysicalOperator(new DistributeResultPOperator());
         resultOperator.getInputs().add(new MutableObject<>(secondJoin));
@@ -279,7 +279,7 @@ public class PlanStagesGeneratorTest {
         secondJoin.getInputs().add(new MutableObject<>(order1));
         secondJoin.getInputs().add(new MutableObject<>(order2));
 
-        DistributeResultOperator resultOperator = new 
DistributeResultOperator(null, null, null);
+        DistributeResultOperator resultOperator = new 
DistributeResultOperator(Collections.emptyList(), null, null);
         resultOperator.setExecutionMode(PARTITIONED);
         resultOperator.setPhysicalOperator(new DistributeResultPOperator());
         resultOperator.getInputs().add(new MutableObject<>(secondJoin));

Reply via email to