@@ -38,18 +38,18 @@ set_shared_local_network_canister_http_empty() {
3838@test " canister http feature is enabled by default" {
3939 dfx_start
4040
41- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
41+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
4242}
4343
4444@test " canister http feature is enabled by default with empty json element" {
4545 set_shared_local_network_canister_http_empty
4646
4747 dfx_start
4848
49- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
49+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
5050}
5151
52- @test " dfx restarts replica when ic-canister-http -adapter restarts" {
52+ @test " dfx restarts replica when ic-https-outcalls -adapter restarts" {
5353 dfx_new hello
5454 dfx_start
5555
@@ -62,7 +62,7 @@ set_shared_local_network_canister_http_empty() {
6262 CANISTER_HTTP_ADAPTER_PID=$( get_canister_http_adapter_pid)
6363
6464 echo " replica pid is $REPLICA_PID "
65- echo " ic-canister-http -adapter pid is $CANISTER_HTTP_ADAPTER_PID "
65+ echo " ic-https-outcalls -adapter pid is $CANISTER_HTTP_ADAPTER_PID "
6666
6767 kill -KILL " $CANISTER_HTTP_ADAPTER_PID "
6868 assert_process_exits " $CANISTER_HTTP_ADAPTER_PID " 15s
@@ -99,7 +99,7 @@ set_shared_local_network_canister_http_empty() {
9999 assert_command curl --fail http://localhost:" $( get_webserver_port) " /sample-asset.txt? canisterId=" $ID "
100100}
101101
102- @test " dfx restarts replica when ic-canister-http -adapter restarts - replica and bootstrap" {
102+ @test " dfx restarts replica when ic-https-outcalls -adapter restarts - replica and bootstrap" {
103103 dfx_new hello
104104 dfx_replica
105105 dfx_bootstrap
@@ -114,7 +114,7 @@ set_shared_local_network_canister_http_empty() {
114114
115115 echo " replica pid is $REPLICA_PID "
116116 echo " replica port is $( get_replica_port) "
117- echo " ic-canister-http -adapter pid is $CANISTER_HTTP_ADAPTER_PID "
117+ echo " ic-https-outcalls -adapter pid is $CANISTER_HTTP_ADAPTER_PID "
118118
119119 kill -KILL " $CANISTER_HTTP_ADAPTER_PID "
120120 assert_process_exits " $CANISTER_HTTP_ADAPTER_PID " 15s
@@ -151,15 +151,15 @@ set_shared_local_network_canister_http_empty() {
151151
152152 dfx_start --enable-canister-http
153153
154- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
154+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
155155}
156156
157157@test " dfx replica --enable-canister-http with no other configuration succeeds" {
158158 dfx_new hello
159159
160160 dfx_replica --enable-canister-http
161161
162- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
162+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
163163}
164164
165165@test " can enable http through project default configuration - dfx start" {
@@ -169,7 +169,7 @@ set_shared_local_network_canister_http_empty() {
169169
170170 dfx_start
171171
172- assert_file_not_empty .dfx/network/local/ic-canister-http -adapter-pid
172+ assert_file_not_empty .dfx/network/local/ic-https-outcalls -adapter-pid
173173}
174174
175175@test " can disable http through project default configuration - dfx start" {
@@ -179,7 +179,7 @@ set_shared_local_network_canister_http_empty() {
179179
180180 dfx_start
181181
182- assert_file_empty .dfx/network/local/ic-canister-http -adapter-pid
182+ assert_file_empty .dfx/network/local/ic-https-outcalls -adapter-pid
183183}
184184
185185@test " can enable http through project local network - dfx start" {
@@ -189,7 +189,7 @@ set_shared_local_network_canister_http_empty() {
189189
190190 dfx_start
191191
192- assert_file_not_empty .dfx/network/local/ic-canister-http -adapter-pid
192+ assert_file_not_empty .dfx/network/local/ic-https-outcalls -adapter-pid
193193}
194194
195195@test " can disable http through project local network - dfx start" {
@@ -199,7 +199,7 @@ set_shared_local_network_canister_http_empty() {
199199
200200 dfx_start
201201
202- assert_file_empty .dfx/network/local/ic-canister-http -adapter-pid
202+ assert_file_empty .dfx/network/local/ic-https-outcalls -adapter-pid
203203}
204204
205205@test " can enable http through shared local network - dfx start" {
@@ -208,7 +208,7 @@ set_shared_local_network_canister_http_empty() {
208208
209209 dfx_start
210210
211- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
211+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
212212}
213213
214214@test " can disable http through shared local network - dfx start" {
@@ -217,7 +217,7 @@ set_shared_local_network_canister_http_empty() {
217217
218218 dfx_start
219219
220- assert_file_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
220+ assert_file_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
221221}
222222
223223
@@ -228,7 +228,7 @@ set_shared_local_network_canister_http_empty() {
228228
229229 dfx_replica
230230
231- assert_file_not_empty .dfx/network/local/ic-canister-http -adapter-pid
231+ assert_file_not_empty .dfx/network/local/ic-https-outcalls -adapter-pid
232232}
233233
234234@test " can disable http through project default configuration - dfx replica" {
@@ -238,7 +238,7 @@ set_shared_local_network_canister_http_empty() {
238238
239239 dfx_replica
240240
241- assert_file_empty .dfx/network/local/ic-canister-http -adapter-pid
241+ assert_file_empty .dfx/network/local/ic-https-outcalls -adapter-pid
242242}
243243
244244@test " can enable http through project local network - dfx replica" {
@@ -248,7 +248,7 @@ set_shared_local_network_canister_http_empty() {
248248
249249 dfx_replica
250250
251- assert_file_not_empty .dfx/network/local/ic-canister-http -adapter-pid
251+ assert_file_not_empty .dfx/network/local/ic-https-outcalls -adapter-pid
252252}
253253
254254@test " can disable http through project local network - dfx replica" {
@@ -258,7 +258,7 @@ set_shared_local_network_canister_http_empty() {
258258
259259 dfx_replica
260260
261- assert_file_empty .dfx/network/local/ic-canister-http -adapter-pid
261+ assert_file_empty .dfx/network/local/ic-https-outcalls -adapter-pid
262262}
263263
264264@test " can enable http through shared local network - dfx replica" {
@@ -267,7 +267,7 @@ set_shared_local_network_canister_http_empty() {
267267
268268 dfx_replica
269269
270- assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
270+ assert_file_not_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
271271}
272272
273273@test " can disable http through shared local network - dfx replica" {
@@ -276,7 +276,7 @@ set_shared_local_network_canister_http_empty() {
276276
277277 dfx_replica
278278
279- assert_file_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-canister-http -adapter-pid"
279+ assert_file_empty " $E2E_SHARED_LOCAL_NETWORK_DATA_DIRECTORY /ic-https-outcalls -adapter-pid"
280280}
281281
282282@test " dfx starts http adapter with correct log level - project defaults" {
0 commit comments