Просмотр исходного кода

Merge remote-tracking branch 'origin/release-53' into sync-r53-m-20231124

Thales Macedo Garitezi 2 лет назад
Родитель
Сommit
261fe8a831
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/emqx_bridge_gcp_pubsub/test/emqx_bridge_gcp_pubsub_consumer_SUITE.erl

+ 1 - 1
apps/emqx_bridge_gcp_pubsub/test/emqx_bridge_gcp_pubsub_consumer_SUITE.erl

@@ -1477,7 +1477,7 @@ t_pull_worker_death(Config) ->
 
 
             [PullWorkerPid | _] = get_pull_worker_pids(Config),
             [PullWorkerPid | _] = get_pull_worker_pids(Config),
             Ref = monitor(process, PullWorkerPid),
             Ref = monitor(process, PullWorkerPid),
-            sys:terminate(PullWorkerPid, die),
+            sys:terminate(PullWorkerPid, die, 20_000),
             receive
             receive
                 {'DOWN', Ref, process, PullWorkerPid, _} ->
                 {'DOWN', Ref, process, PullWorkerPid, _} ->
                     ok
                     ok