Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libraries/rust/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ fn test_integration_websocket_subscription() {
}
thread::sleep(Duration::from_millis(500));
}
assert!(found, "Should have received ADD_ITEM for ws-key through websocket");

// Attempt local cache assertion directly, since read_message should process and store it.
let local_val = cache.get_local("ws-key");
Expand Down Expand Up @@ -125,6 +126,7 @@ fn test_integration_websocket_hydration() {
}
thread::sleep(Duration::from_millis(500));
}
assert!(found, "Should have received hydrated ADD_ITEM for hydrate-key");

let local_val = cache.get_local("hydrate-key");
assert_eq!(local_val, Some("hydrate-val".to_string()));
Expand Down
Loading