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

Migrate StringTimer processing elements #1453

Merged
merged 3 commits into from
Mar 27, 2023

Conversation

liuxiaocs7
Copy link
Member

Purpose

closes #1436

UT logs:

2023-03-26T01:16:00.691+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value 
2023-03-26T01:16:00.800+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is .
2023-03-26T01:16:00.802+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is .
2023-03-26T01:16:00.804+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:00.910+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is .
2023-03-26T01:16:00.910+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is .
2023-03-26T01:16:00.911+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:01.020+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:01.134+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 108.0
2023-03-26T01:16:01.134+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t1.
2023-03-26T01:16:01.134+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t1.
2023-03-26T01:16:01.135+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:01.242+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:01.351+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 0.107
2023-03-26T01:16:01.351+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t2
2023-03-26T01:16:01.459+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 0.216
2023-03-26T01:16:01.459+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t1.
2023-03-26T01:16:01.459+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t1.
2023-03-26T01:16:01.461+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:01.570+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t2
2023-03-26T01:16:01.676+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 0.0018166666666666667
2023-03-26T01:16:01.676+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t3
2023-03-26T01:16:01.787+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t2 time: 0.0017666666666666666
2023-03-26T01:16:01.787+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t2.
2023-03-26T01:16:01.787+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t2.
2023-03-26T01:16:01.788+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value 
2023-03-26T01:16:01.894+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is .
2023-03-26T01:16:01.894+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is .
2023-03-26T01:16:01.895+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:02.003+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is .
2023-03-26T01:16:02.003+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is .
2023-03-26T01:16:02.004+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:02.109+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t2
2023-03-26T01:16:02.218+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 105.0
2023-03-26T01:16:02.218+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t1.
2023-03-26T01:16:02.218+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t1.
2023-03-26T01:16:02.220+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:02.329+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:02.441+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t2
2023-03-26T01:16:02.551+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 0.221
2023-03-26T01:16:02.551+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t1.
2023-03-26T01:16:02.551+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t1.
2023-03-26T01:16:02.553+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t1
2023-03-26T01:16:02.659+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t2
2023-03-26T01:16:02.769+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t1 time: 0.0017666666666666666
2023-03-26T01:16:02.769+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Sending event with value t3
2023-03-26T01:16:02.878+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : t2 time: 0.0018333333333333333
2023-03-26T01:16:02.878+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Expected value is t2.
2023-03-26T01:16:02.878+08:00  INFO   --- [           main] a.s.p.t.j.p.s.t.TestStringTimerProcessor : Actual value is t2.

Remarks

PR introduces (a) breaking change(s): <yes/no>

PR introduces (a) deprecation(s): <yes/no>

@github-actions github-actions bot added backend Everything that is related to the StreamPipes backend java Pull requests that update Java code pipeline elements Relates to pipeline elements testing Relates to any kind of test (unit test, integration, or E2E test). labels Mar 25, 2023
@liuxiaocs7
Copy link
Member Author

liuxiaocs7 commented Mar 26, 2023

Hi, @dominikriemer, I have fixed conflicts, please help me to trigger CI, thanks!

@dominikriemer dominikriemer merged commit a99f0cd into apache:dev Mar 27, 2023
@bossenti bossenti added the no release note Issues and PR. Add if they should not be contained in the release notes (e.g., minor refactorings). label Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend java Pull requests that update Java code no release note Issues and PR. Add if they should not be contained in the release notes (e.g., minor refactorings). pipeline elements Relates to pipeline elements testing Relates to any kind of test (unit test, integration, or E2E test).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StringTimer
4 participants