Use "test" consistently
This commit is contained in:
parent
ed76315387
commit
aed97f6c29
2 changed files with 3 additions and 4 deletions
|
@ -455,7 +455,7 @@ async fn test_project_count(db: &Arc<Database>) {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let room_id = RoomId::from_proto(
|
let room_id = RoomId::from_proto(
|
||||||
db.create_room(user1.user_id, ConnectionId { owner_id, id: 0 }, "", "dev")
|
db.create_room(user1.user_id, ConnectionId { owner_id, id: 0 }, "", "test")
|
||||||
.await
|
.await
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.id,
|
.id,
|
||||||
|
@ -473,7 +473,7 @@ async fn test_project_count(db: &Arc<Database>) {
|
||||||
room_id,
|
room_id,
|
||||||
user2.user_id,
|
user2.user_id,
|
||||||
ConnectionId { owner_id, id: 1 },
|
ConnectionId { owner_id, id: 1 },
|
||||||
"dev",
|
"test",
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
|
@ -66,7 +66,6 @@ use time::OffsetDateTime;
|
||||||
use tokio::sync::{watch, Semaphore};
|
use tokio::sync::{watch, Semaphore};
|
||||||
use tower::ServiceBuilder;
|
use tower::ServiceBuilder;
|
||||||
use tracing::{info_span, instrument, Instrument};
|
use tracing::{info_span, instrument, Instrument};
|
||||||
use util::channel::RELEASE_CHANNEL_NAME;
|
|
||||||
|
|
||||||
pub const RECONNECT_TIMEOUT: Duration = Duration::from_secs(30);
|
pub const RECONNECT_TIMEOUT: Duration = Duration::from_secs(30);
|
||||||
pub const CLEANUP_TIMEOUT: Duration = Duration::from_secs(10);
|
pub const CLEANUP_TIMEOUT: Duration = Duration::from_secs(10);
|
||||||
|
@ -967,7 +966,7 @@ async fn create_room(
|
||||||
session.user_id,
|
session.user_id,
|
||||||
session.connection_id,
|
session.connection_id,
|
||||||
&live_kit_room,
|
&live_kit_room,
|
||||||
RELEASE_CHANNEL_NAME.as_str(),
|
&session.zed_environment,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue