Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
8a2c03e1
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8a2c03e1
编写于
6月 20, 2016
作者:
R
Robert Metzger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-3995] [build] Fix failing tests and add missing dependencies
This closes #2148
上级
b9f42e91
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
71 addition
and
18 deletion
+71
-18
flink-core/src/test/java/org/apache/flink/util/InstantiationUtilTest.java
...est/java/org/apache/flink/util/InstantiationUtilTest.java
+3
-3
flink-fs-tests/pom.xml
flink-fs-tests/pom.xml
+1
-0
flink-libraries/flink-cep/pom.xml
flink-libraries/flink-cep/pom.xml
+15
-0
flink-libraries/flink-ml/src/test/scala/org/apache/flink/ml/math/distributed/DistributedRowMatrixSuite.scala
...flink/ml/math/distributed/DistributedRowMatrixSuite.scala
+1
-1
flink-libraries/flink-ml/src/test/scala/org/apache/flink/ml/preprocessing/SplitterITSuite.scala
...a/org/apache/flink/ml/preprocessing/SplitterITSuite.scala
+1
-2
flink-metrics/flink-metrics-dropwizard/pom.xml
flink-metrics/flink-metrics-dropwizard/pom.xml
+10
-7
flink-metrics/flink-metrics-statsd/pom.xml
flink-metrics/flink-metrics-statsd/pom.xml
+3
-2
flink-runtime-web/pom.xml
flink-runtime-web/pom.xml
+6
-0
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphRestartTest.java
...ink/runtime/executiongraph/ExecutionGraphRestartTest.java
+2
-2
flink-streaming-connectors/flink-connector-cassandra/pom.xml
flink-streaming-connectors/flink-connector-cassandra/pom.xml
+1
-0
flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
+8
-0
flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
+8
-0
flink-streaming-java/pom.xml
flink-streaming-java/pom.xml
+11
-0
flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
...c/main/java/org/apache/flink/test/util/TestBaseUtils.java
+1
-1
未找到文件。
flink-core/src/test/java/org/apache/flink/util/InstantiationUtilTest.java
浏览文件 @
8a2c03e1
...
...
@@ -182,12 +182,12 @@ public class InstantiationUtilTest extends TestLogger {
}
}
p
rivate
static
final
class
WritableType
implements
IOReadableWritable
{
p
ublic
static
final
class
WritableType
implements
IOReadableWritable
{
private
int
aInt
;
private
long
aLong
;
p
rivate
WritableType
()
{
p
ublic
WritableType
()
{
Random
rnd
=
new
Random
();
this
.
aInt
=
rnd
.
nextInt
();
this
.
aLong
=
rnd
.
nextLong
();
...
...
flink-fs-tests/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -47,6 +47,7 @@ under the License.
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-streaming-java_2.10
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
...
...
flink-libraries/flink-cep/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -52,6 +52,12 @@ under the License.
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<!-- test dependencies -->
<dependency>
...
...
@@ -68,6 +74,15 @@ under the License.
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-runtime_2.10
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
...
...
flink-libraries/flink-ml/src/test/scala/org/apache/flink/ml/math/distributed/DistributedRowMatrixSuite.scala
浏览文件 @
8a2c03e1
...
...
@@ -19,7 +19,7 @@
package
org.apache.flink.ml.math.distributed
import
org.apache.flink.api.scala._
import
org.apache.flink.
test
.util.FlinkTestBase
import
org.apache.flink.
ml
.util.FlinkTestBase
import
org.scalatest.
{
FlatSpec
,
Matchers
}
class
DistributedRowMatrixSuite
extends
FlatSpec
with
Matchers
with
FlinkTestBase
{
...
...
flink-libraries/flink-ml/src/test/scala/org/apache/flink/ml/preprocessing/SplitterITSuite.scala
浏览文件 @
8a2c03e1
...
...
@@ -19,9 +19,8 @@ package org.apache.flink.ml.preprocessing
import
org.apache.flink.api.scala.ExecutionEnvironment
import
org.apache.flink.api.scala._
import
org.apache.flink.
test
.util.FlinkTestBase
import
org.apache.flink.
ml
.util.FlinkTestBase
import
org.scalatest.
{
Matchers
,
FlatSpec
}
import
org.apache.flink.ml.math.Vector
import
org.apache.flink.api.scala.utils._
...
...
flink-metrics/flink-metrics-dropwizard/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -40,19 +40,22 @@ under the License.
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
io.dropwizard.metrics
</groupId>
<artifactId>
metrics-core
</artifactId>
<version>
${metrics.version}
</version>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-
core
</artifactId>
<artifactId>
flink-
test-utils-junit
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
io.dropwizard.metrics
</groupId>
<artifactId>
metrics-core
</artifactId>
<version>
${metrics.version}
</version>
</dependency>
</dependencies>
<build>
...
...
flink-metrics/flink-metrics-statsd/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -40,11 +40,12 @@ under the License.
<scope>
provided
</scope>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-
core
</artifactId>
<artifactId>
flink-
test-utils-junit
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
</dependencies>
...
...
flink-runtime-web/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -67,6 +67,12 @@ under the License.
<version>
3.18.2-GA
</version>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<!-- ===================================================
Testing
=================================================== -->
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphRestartTest.java
浏览文件 @
8a2c03e1
...
...
@@ -286,7 +286,7 @@ public class ExecutionGraphRestartTest extends TestLogger {
new
JobID
(),
"TestJob"
,
new
Configuration
(),
ExecutionConfigTest
.
getSerializedConfig
(
),
new
SerializedValue
<>(
new
ExecutionConfig
()
),
AkkaUtils
.
getDefaultTimeout
(),
// We want to manually control the restart and delay
new
FixedDelayRestartStrategy
(
Integer
.
MAX_VALUE
,
Long
.
MAX_VALUE
));
...
...
@@ -703,7 +703,7 @@ public class ExecutionGraphRestartTest extends TestLogger {
new
JobID
(),
"Test job"
,
new
Configuration
(),
ExecutionConfigTest
.
getSerializedConfig
(
),
new
SerializedValue
<>(
new
ExecutionConfig
()
),
AkkaUtils
.
getDefaultTimeout
(),
controllableRestartStrategy
);
...
...
flink-streaming-connectors/flink-connector-cassandra/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -65,6 +65,7 @@ under the License.
<goal>
shade
</goal>
</goals>
<configuration
combine.self=
"override"
>
<dependencyReducedPomLocation>
${project.basedir}/target/dependency-reduced-pom.xml
</dependencyReducedPomLocation>
<artifactSet>
<includes>
<include>
com.datastax.cassandra:cassandra-driver-core
</include>
...
...
flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -135,6 +135,14 @@ under the License.
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-runtime_2.10
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-test-utils_2.10
</artifactId>
...
...
flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -119,6 +119,14 @@ under the License.
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-runtime_2.10
</artifactId>
<version>
${project.version}
</version>
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
...
...
flink-streaming-java/pom.xml
浏览文件 @
8a2c03e1
...
...
@@ -104,6 +104,17 @@ under the License.
<reuseForks>
false
</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<executions>
<execution>
<goals>
<goal>
test-jar
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
...
flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
浏览文件 @
8a2c03e1
...
...
@@ -87,7 +87,7 @@ public class TestBaseUtils extends TestLogger {
protected
static
final
String
DEFAULT_AKKA_STARTUP_TIMEOUT
=
"60 s"
;
p
rotected
static
FiniteDuration
DEFAULT_TIMEOUT
=
new
FiniteDuration
(
DEFAULT_AKKA_ASK_TIMEOUT
,
TimeUnit
.
SECONDS
);
p
ublic
static
FiniteDuration
DEFAULT_TIMEOUT
=
new
FiniteDuration
(
DEFAULT_AKKA_ASK_TIMEOUT
,
TimeUnit
.
SECONDS
);
// ------------------------------------------------------------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录