Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STORM-3018] Fix integration test DemoTest#testExclamationTopology fa… #2619

Merged
merged 1 commit into from Apr 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions conf/defaults.yaml
Expand Up @@ -196,6 +196,9 @@ worker.log.level.reset.poll.secs: 30
topology.worker.receiver.thread.count: 1

# Executor metrics reporting interval.
# Cause the ui only show built in metrics, we should keep sync with the built in metrics interval,
# also the metrics consumer's collecting interval.
# See topology.builtin.metrics.bucket.size.secs and storm.cluster.metrics.consumer.publish.interval.secs.
executor.metrics.frequency.secs: 60

task.heartbeat.frequency.secs: 3
Expand Down
4 changes: 4 additions & 0 deletions integration-test/config/storm.yaml
Expand Up @@ -27,6 +27,10 @@ storm.messaging.netty.max_retries: 10
storm.messaging.netty.min_wait_ms: 1000
storm.messaging.netty.max_wait_ms: 5000

# Executor metrics reporting interval, keep it short enough for cases fetching executors metrics
# through restful API
executor.metrics.frequency.secs: 3

drpc.servers:
- "node1"

Expand Down
Expand Up @@ -54,6 +54,7 @@ public void testExclamationTopology() throws Exception {
topo.submitSuccessfully();
final int minExclaim2Emits = 500;
final int minSpountEmits = 10000;
//Keep the check time to be gt Config.EXECUTOR_METRICS_FREQUENCY_SECS.
for(int i = 0; i < 10; ++i) {
TopologyInfo topologyInfo = topo.getInfo();
log.info(topologyInfo.toString());
Expand Down