Skip to content

Commit

Permalink
improve debug_pods location
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Sep 19, 2023
1 parent 0321970 commit 935558d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion agones/src/xds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -198,6 +197,10 @@ filters:
break;
}
}
if !failed {
debug_pods(client, "role=proxy");
debug_pods(client, "role=xds");
}
assert!(failed, "Packet should have failed");
}

Expand Down

0 comments on commit 935558d

Please sign in to comment.