Skip to content

Commit e276410

Browse files
test that participant handles are expired after disconnect
1 parent 630d045 commit e276410

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tests/integration/test_room.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ TEST_F(RoomTest, ConnectWithInvalidUrl) {
8484
class RoomLifecycleTest : public LiveKitTestBase {};
8585

8686
TEST_F(RoomLifecycleTest, ParticipantHandlesExpireOnRoomDestruction) {
87-
skipIfNotConfigured();
87+
if (!config_.available) {
88+
throw std::runtime_error("RoomLifecycleTest: test configuration not set up");
89+
}
8890

8991
RoomOptions options;
9092
options.auto_subscribe = true;

0 commit comments

Comments
 (0)