This is an automated email from the ASF dual-hosted git repository. mhubail pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push: new e18c9332a9 [NO ISSUE][TEST] Remove SqlppExecutionWithCompressionTest e18c9332a9 is described below commit e18c9332a91d8a78bfc0ffeaeb271c5cc487874a Author: Murtadha Hubail <murtadha.hub...@couchbase.com> AuthorDate: Sun May 7 19:53:47 2023 +0300 [NO ISSUE][TEST] Remove SqlppExecutionWithCompressionTest - user model changes: no - storage format changes: no - interface changes: no Details: - Remove SqlppExecutionWithCompressionTest as it is currently a redundant test since the default storage configuration has compression enabled. Change-Id: Iaf35ce1d7574ee4edfd4414ceb573feb4a668a80 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17516 Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Till Westmann <ti...@apache.org> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> --- .../runtime/SqlppExecutionWithCompressionTest.java | 64 ---------------------- .../src/test/resources/cc-compression.conf | 60 -------------------- 2 files changed, 124 deletions(-) diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/SqlppExecutionWithCompressionTest.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/SqlppExecutionWithCompressionTest.java deleted file mode 100644 index 4be21426d1..0000000000 --- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/SqlppExecutionWithCompressionTest.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.asterix.test.runtime; - -import java.util.Collection; - -import org.apache.asterix.test.common.TestExecutor; -import org.apache.asterix.testframework.context.TestCaseContext; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * Runs the SQL++ storage runtime tests with the Snappy compression. - */ -@RunWith(Parameterized.class) -public class SqlppExecutionWithCompressionTest { - protected static final String TEST_CONFIG_FILE_NAME = "src/test/resources/cc-compression.conf"; - - @BeforeClass - public static void setUp() throws Exception { - LangExecutionUtil.setUp(TEST_CONFIG_FILE_NAME, new TestExecutor()); - } - - @AfterClass - public static void tearDown() throws Exception { - LangExecutionUtil.tearDown(); - } - - @Parameters(name = "SqlppExecutionWithCompressionTest {index}: {0}") - public static Collection<Object[]> tests() throws Exception { - return LangExecutionUtil.tests("only_sqlpp.xml", "testsuite_sqlpp.xml"); - } - - protected TestCaseContext tcCtx; - - public SqlppExecutionWithCompressionTest(TestCaseContext tcCtx) { - this.tcCtx = tcCtx; - } - - @Test - public void test() throws Exception { - LangExecutionUtil.test(tcCtx); - } -} diff --git a/asterixdb/asterix-app/src/test/resources/cc-compression.conf b/asterixdb/asterix-app/src/test/resources/cc-compression.conf deleted file mode 100644 index 373d9bb770..0000000000 --- a/asterixdb/asterix-app/src/test/resources/cc-compression.conf +++ /dev/null @@ -1,60 +0,0 @@ -; Licensed to the Apache Software Foundation (ASF) under one -; or more contributor license agreements. See the NOTICE file -; distributed with this work for additional information -; regarding copyright ownership. The ASF licenses this file -; to you under the Apache License, Version 2.0 (the -; "License"); you may not use this file except in compliance -; with the License. You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, -; software distributed under the License is distributed on an -; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -; KIND, either express or implied. See the License for the -; specific language governing permissions and limitations -; under the License. - -[nc/asterix_nc1] -txn.log.dir=target/tmp/asterix_nc1/txnlog -core.dump.dir=target/tmp/asterix_nc1/coredump -iodevices=target/tmp/asterix_nc1/iodevice1,../asterix-server/target/tmp/asterix_nc1/iodevice2 -nc.api.port=19004 -#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5006 - -[nc/asterix_nc2] -ncservice.port=9091 -txn.log.dir=target/tmp/asterix_nc2/txnlog -core.dump.dir=target/tmp/asterix_nc2/coredump -iodevices=target/tmp/asterix_nc2/iodevice1,../asterix-server/target/tmp/asterix_nc2/iodevice2 -nc.api.port=19005 -#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5007 - -[nc] -address=127.0.0.1 -command=asterixnc -app.class=org.apache.asterix.hyracks.bootstrap.NCApplication -jvm.args=-Xmx4096m -Dnode.Resolver="org.apache.asterix.external.util.IdentitiyResolverFactory" -storage.buffercache.pagesize=32KB -storage.buffercache.size=128MB -storage.memorycomponent.globalbudget=512MB - -[cc] -address = 127.0.0.1 -app.class=org.apache.asterix.hyracks.bootstrap.CCApplication -heartbeat.period=2000 -heartbeat.max.misses=25 - -[common] -log.level = INFO -compiler.cbo=false -compiler.cbotest=true -compiler.framesize=32KB -compiler.sortmemory=320KB -compiler.groupmemory=160KB -compiler.joinmemory=256KB -compiler.textsearchmemory=160KB -compiler.windowmemory=192KB -messaging.frame.size=4096 -messaging.frame.count=512 -storage.compression.block=snappy