[ 
https://issues.apache.org/jira/browse/FLINK-10021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566473#comment-16566473
 ] 

ASF GitHub Bot commented on FLINK-10021:
----------------------------------------

zentol closed pull request #6474: [FLINK-10021][tests] Update operator name 
when querying metrics
URL: https://github.com/apache/flink/pull/6474
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/flink-end-to-end-tests/test-scripts/test_resume_externalized_checkpoints.sh 
b/flink-end-to-end-tests/test-scripts/test_resume_externalized_checkpoints.sh
index 29c3786d3f4..cb09e8d6f98 100755
--- 
a/flink-end-to-end-tests/test-scripts/test_resume_externalized_checkpoints.sh
+++ 
b/flink-end-to-end-tests/test-scripts/test_resume_externalized_checkpoints.sh
@@ -106,7 +106,7 @@ if [[ $SIMULATE_FAILURE == "true" ]]; then
   wait_job_terminal_state $DATASTREAM_JOB FAILED
 else
   wait_num_checkpoints $DATASTREAM_JOB 1
-  wait_oper_metric_num_in_records ArtificalKeyedStateMapper.0 200
+  wait_oper_metric_num_in_records SemanticsCheckMapper.0 200
 
   cancel_job $DATASTREAM_JOB
 fi
@@ -131,7 +131,7 @@ BASE_JOB_CMD=`buildBaseJobCmd $NEW_DOP`
 DATASTREAM_JOB=$($BASE_JOB_CMD | grep "Job has been submitted with JobID" | 
sed 's/.* //g')
 
 wait_job_running $DATASTREAM_JOB
-wait_oper_metric_num_in_records ArtificalKeyedStateMapper.0 200
+wait_oper_metric_num_in_records SemanticsCheckMapper.0 200
 
 # if state is errorneous and the general purpose DataStream job produces 
alerting messages,
 # output would be non-empty and the test will not pass


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> All-round E2E tests query metric with wrong operator name
> ---------------------------------------------------------
>
>                 Key: FLINK-10021
>                 URL: https://issues.apache.org/jira/browse/FLINK-10021
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.6.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> In FLINK-8994 the naming scheme for operators of the 
> DataStreamAllroundTestProgram was modified, but the change wasn't propagated 
> to other users of the test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to