@@ -28,17 +28,17 @@ name: Actor Service
2828background: true
2929sleep: 5
3030expected_stdout_lines:
31- - '== APP == Activate DemoActor actor!'
32- - '== APP == has_value: False'
33- - '== APP == has_value: False'
34- - "== APP == set_my_data: {'data': 'new_data'}"
35- - '== APP == has_value: True'
36- - '== APP == set reminder to True'
37- - '== APP == set reminder is done'
38- - '== APP == set_timer to True'
39- - '== APP == set_timer is done'
40- - "== APP == receive_reminder is called - demo_reminder reminder - b'reminder_state'"
41- - "== APP == clear_my_data"
31+ - 'Activate DemoActor actor!'
32+ - 'has_value: False'
33+ - 'has_value: False'
34+ - "set_my_data: {'data': 'new_data'}"
35+ - 'has_value: True'
36+ - 'set reminder to True'
37+ - 'set reminder is done'
38+ - 'set_timer to True'
39+ - 'set_timer is done'
40+ - "receive_reminder is called - demo_reminder reminder - b'reminder_state'"
41+ - "clear_my_data"
4242timeout_seconds: 60
4343-->
4444
@@ -53,23 +53,23 @@ timeout_seconds: 60
5353 Expected output:
5454 ```
5555 ...
56- == APP == Activate DemoActor actor!
57- == APP == has_value: False
58- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
59- == APP == has_value: False
60- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
61- == APP == set_my_data: {'data': 'new_data'}
62- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetMyData HTTP/1.1" 200 OK
63- == APP == has_value: True
64- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
65- == APP == set reminder to True
66- == APP == set reminder is done
67- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetReminder HTTP/1.1" 200 OK
68- == APP == set_timer to True
69- == APP == set_timer is done
70- == APP == INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetTimer HTTP/1.1" 200 OK
71- == APP == receive_reminder is called - demo_reminder reminder - b'reminder_state'
72- == APP == clear_my_data
56+ Activate DemoActor actor!
57+ has_value: False
58+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
59+ has_value: False
60+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
61+ set_my_data: {'data': 'new_data'}
62+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetMyData HTTP/1.1" 200 OK
63+ has_value: True
64+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/GetMyData HTTP/1.1" 200 OK
65+ set reminder to True
66+ set reminder is done
67+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetReminder HTTP/1.1" 200 OK
68+ set_timer to True
69+ set_timer is done
70+ INFO: 127.0.0.1:50739 - "PUT /actors/DemoActor/1/method/SetTimer HTTP/1.1" 200 OK
71+ receive_reminder is called - demo_reminder reminder - b'reminder_state'
72+ clear_my_data
7373 ...
7474 ```
7575
@@ -78,19 +78,19 @@ timeout_seconds: 60
7878<!-- STEP
7979name: Actor Client
8080expected_stdout_lines:
81- - '== APP == call actor method via proxy.invoke_method()'
82- - "== APP == b'null'"
83- - '== APP == call actor method using rpc style'
84- - '== APP == None'
85- - "== APP == Actor reentrancy enabled: b'true'"
86- - '== APP == call SetMyData actor method to save the state'
87- - '== APP == call GetMyData actor method to get the state'
88- - '== APP == Register reminder'
89- - '== APP == Register timer'
90- - '== APP == waiting for 30 seconds'
91- - '== APP == stop reminder'
92- - '== APP == stop timer'
93- - '== APP == clear actor state'
81+ - 'call actor method via proxy.invoke_method()'
82+ - "b'null'"
83+ - 'call actor method using rpc style'
84+ - 'None'
85+ - "Actor reentrancy enabled: b'true'"
86+ - 'call SetMyData actor method to save the state'
87+ - 'call GetMyData actor method to get the state'
88+ - 'Register reminder'
89+ - 'Register timer'
90+ - 'waiting for 30 seconds'
91+ - 'stop reminder'
92+ - 'stop timer'
93+ - 'clear actor state'
9494-->
9595
96962 . Run Demo client in new terminal window
@@ -105,20 +105,20 @@ expected_stdout_lines:
105105 Expected output:
106106 ```
107107 ...
108- == APP == call actor method via proxy.invoke_method()
109- == APP == b'null'
110- == APP == call actor method using rpc style
111- == APP == None
112- == APP == Actor reentrancy enabled: True
113- == APP == call SetMyData actor method to save the state
114- == APP == call GetMyData actor method to get the state
115- == APP == {'data': 'new_data', 'ts': datetime.datetime(2020, 11, 13, 0, 38, 36, 163000, tzinfo=tzutc())}
116- == APP == Register reminder
117- == APP == Register timer
118- == APP == waiting for 30 seconds
119- == APP == stop reminder
120- == APP == stop timer
121- == APP == clear actor state
108+ call actor method via proxy.invoke_method()
109+ b'null'
110+ call actor method using rpc style
111+ None
112+ Actor reentrancy enabled: True
113+ call SetMyData actor method to save the state
114+ call GetMyData actor method to get the state
115+ {'data': 'new_data', 'ts': datetime.datetime(2020, 11, 13, 0, 38, 36, 163000, tzinfo=tzutc())}
116+ Register reminder
117+ Register timer
118+ waiting for 30 seconds
119+ stop reminder
120+ stop timer
121+ clear actor state
122122 ```
123123
124124<!-- END_STEP -->
0 commit comments