exclude directive not working; just remove unmaintained Python2 tests
diff --git a/tests/build.gradle b/tests/build.gradle index 01e8bde..e720728 100644 --- a/tests/build.gradle +++ b/tests/build.gradle
@@ -44,8 +44,6 @@ } task testPython3(type: Test) { - // python2 is end-of-life and the runtime not built by default - exclude 'scala/runtime/actionContainers/Python2ActionLoopContainerTests' } task buildArtifacts(type:Exec) {
diff --git a/tests/src/test/scala/runtime/actionContainers/Python2ActionLoopContainerTests.scala b/tests/src/test/scala/runtime/actionContainers/Python2ActionLoopContainerTests.scala deleted file mode 100644 index 23dae23..0000000 --- a/tests/src/test/scala/runtime/actionContainers/Python2ActionLoopContainerTests.scala +++ /dev/null
@@ -1,36 +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 runtime.actionContainers - -import common.WskActorSystem -import org.junit.runner.RunWith -import org.scalatest.junit.JUnitRunner - -@RunWith(classOf[JUnitRunner]) -class Python2ActionLoopContainerTests - extends PythonActionContainerTests - with PythonActionLoopExtraTests - with WskActorSystem { - - override lazy val imageName = "actionloop-python-v2.7" - - override val testNoSource = TestConfig("", hasCodeStub = false) - - /** actionloop based image does not log init errors - return the error in the body */ - override lazy val errorCodeOnRun = false -}