Skip to content

Commit 71d320a

Browse files
committed
feat(xtask): don't send exit command to servers
1 parent 542162f commit 71d320a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xtask/src/ci/qemu.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ fn test_httpd(guest_ip: IpAddr) -> Result<()> {
560560

561561
fn test_testudp(guest_ip: IpAddr) -> Result<()> {
562562
thread::sleep(Duration::from_secs(10));
563-
let buf = "exit";
563+
let buf = "Hermit";
564564
let socket_addr = SocketAddr::new(guest_ip, 9975);
565565
eprintln!("[CI] send {buf:?} via UDP to {socket_addr}");
566566
let socket = UdpSocket::bind((Ipv4Addr::UNSPECIFIED, 0))?;
@@ -572,7 +572,7 @@ fn test_testudp(guest_ip: IpAddr) -> Result<()> {
572572

573573
fn test_miotcp(guest_ip: IpAddr) -> Result<()> {
574574
thread::sleep(Duration::from_secs(10));
575-
let buf = "exit";
575+
let buf = "Hermit";
576576
let socket_addr = SocketAddr::new(guest_ip, 9975);
577577
eprintln!("[CI] send {buf:?} via TCP to {socket_addr}");
578578
let mut stream = TcpStream::connect(socket_addr)?;
@@ -587,7 +587,7 @@ fn test_miotcp(guest_ip: IpAddr) -> Result<()> {
587587

588588
fn test_poll(guest_ip: IpAddr) -> Result<()> {
589589
thread::sleep(Duration::from_secs(10));
590-
let buf = "exit";
590+
let buf = "Hermit";
591591
let socket_addr = SocketAddr::new(guest_ip, 9975);
592592
eprintln!("[CI] send {buf:?} via TCP to {socket_addr}");
593593
let mut stream = TcpStream::connect(socket_addr)?;
@@ -602,7 +602,7 @@ fn test_poll(guest_ip: IpAddr) -> Result<()> {
602602

603603
fn test_mioudp(guest_ip: IpAddr) -> Result<()> {
604604
thread::sleep(Duration::from_secs(10));
605-
let buf = "exit";
605+
let buf = "Hermit";
606606
let socket_addr = SocketAddr::new(guest_ip, 9975);
607607
eprintln!("[CI] send {buf:?} via UDP to {socket_addr}");
608608
let socket = UdpSocket::bind((Ipv4Addr::UNSPECIFIED, 0))?;

0 commit comments

Comments
 (0)