beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [02/13] incubator-beam git commit: Add JUnit category UsesTimersInParDo
Date Thu, 08 Dec 2016 18:09:39 GMT
Add JUnit category UsesTimersInParDo

With this, various runners can disable tests for this capability
until they support it.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/96c6a3b4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/96c6a3b4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/96c6a3b4

Branch: refs/heads/master
Commit: 96c6a3b4cd46c6109ecc532b6e5f7fd47f702c9e
Parents: 6929057
Author: Kenneth Knowles <klk@google.com>
Authored: Tue Dec 6 20:49:15 2016 -0800
Committer: Kenneth Knowles <klk@google.com>
Committed: Thu Dec 8 09:53:07 2016 -0800

----------------------------------------------------------------------
 .../beam/sdk/testing/UsesTimersInParDo.java     | 25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/96c6a3b4/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesTimersInParDo.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesTimersInParDo.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesTimersInParDo.java
new file mode 100644
index 0000000..14123ed
--- /dev/null
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesTimersInParDo.java
@@ -0,0 +1,25 @@
+/*
+ * 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.beam.sdk.testing;
+
+import org.apache.beam.sdk.transforms.ParDo;
+
+/**
+ * Category tag for validation tests which utilize timers in {@link ParDo}.
+ */
+public interface UsesTimersInParDo {}


Mime
View raw message