From 926fcfc0e3f987deaa348ff8a748cafecced0581 Mon Sep 17 00:00:00 2001 From: Caio Date: Sun, 22 Sep 2024 21:12:48 -0300 Subject: [PATCH] Fix CI --- .scripts/internal-tests-0.sh | 2 +- wtx-fuzz/web_socket.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.scripts/internal-tests-0.sh b/.scripts/internal-tests-0.sh index e1b28ec5..9c66cad5 100755 --- a/.scripts/internal-tests-0.sh +++ b/.scripts/internal-tests-0.sh @@ -38,7 +38,7 @@ $rt test-with-features wtx pool $rt test-with-features wtx postgres $rt test-with-features wtx proptest $rt test-with-features wtx quick-protobuf -$rt test-with-features wtx rand +$rt test-with-features wtx rand_chacha $rt test-with-features wtx ring $rt test-with-features wtx rust_decimal $rt test-with-features wtx schema-manager diff --git a/wtx-fuzz/web_socket.rs b/wtx-fuzz/web_socket.rs index feff2070..0787f8f5 100644 --- a/wtx-fuzz/web_socket.rs +++ b/wtx-fuzz/web_socket.rs @@ -5,7 +5,7 @@ use tokio::runtime::Builder; use wtx::{ - misc::{BytesStream, NoStdRng}, + misc::{simple_seed, BytesStream, Xorshift64}, web_socket::{FrameBufferVec, FrameMutVec, OpCode, WebSocketBuffer, WebSocketServerOwned}, }; @@ -13,7 +13,7 @@ libfuzzer_sys::fuzz_target!(|data: (OpCode, &[u8])| { Builder::new_current_thread().enable_all().build().unwrap().block_on(async move { let Ok(mut ws) = WebSocketServerOwned::new( (), - NoStdRng::default(), + Xorshift64::from(simple_seed()), BytesStream::default(), WebSocketBuffer::default(), ) else {