You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2020/09/30 13:41:18 UTC
[openwhisk-runtime-python] 02/02: exclude directive not working;
just remove unmaintained Python2 tests
This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-python.git
commit 4e43668e99d9f40c20e4537a7b1656a60f7fb6f4
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Wed Sep 30 09:07:11 2020 -0400
exclude directive not working; just remove unmaintained Python2 tests
---
tests/build.gradle | 2 --
.../Python2ActionLoopContainerTests.scala | 36 ----------------------
2 files changed, 38 deletions(-)
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 @@ tasks.withType(ScalaCompile) {
}
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
-}