Skip to content

Commit

Permalink
check rpc_sync flag
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Dec 18, 2024
1 parent cbb7c1b commit fc42722
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/02-integration/09-hybrid_mode/01-sync_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,9 @@ describe("CP/DP config sync #" .. strategy .. " rpc_sync=" .. rpc_sync, function
end
end, 5)

ngx.sleep(0.5)
if rpc_sync == "on" then
ngx.sleep(0.5)
end

for i = 5, 2, -1 do
res = proxy_client:get("/" .. i)
Expand Down

0 comments on commit fc42722

Please sign in to comment.