diff --git a/agones/src/xds.rs b/agones/src/xds.rs index 221f785264..6d966fe9c4 100644 --- a/agones/src/xds.rs +++ b/agones/src/xds.rs @@ -182,7 +182,6 @@ filters: .as_mut() .map(|annotations| annotations.remove(token_key).unwrap()); gameservers.replace(name.as_str(), &pp, &gs).await.unwrap(); - debug_pods(client, "role=proxy"); // now we should send a packet, and not get a response. let mut failed = false; for i in 0..30 { @@ -198,6 +197,10 @@ filters: break; } } + if !failed { + debug_pods(client, "role=proxy"); + debug_pods(client, "role=xds"); + } assert!(failed, "Packet should have failed"); }