Skip to content

Commit f45b413

Browse files
committed
Fix e2e rustls provider setup
1 parent 9c001e3 commit f45b413

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: actions-rust-lang/setup-rust-toolchain@v1
20-
- name: install sipbot
21-
run: cargo install sipbot || true
2220
- name: Run default E2E tests
2321
run: cargo test --test e2e_p2p_comprehensive_test --test e2e_p2p_demo_test --test e2e_queue_comprehensive_test --test e2e_conference_test -- --nocapture
2422
timeout-minutes: 10
@@ -44,8 +42,6 @@ jobs:
4442
git submodule sync --recursive src/addons/wholesale
4543
git submodule update --init --recursive --depth=1 src/addons/wholesale
4644
- uses: actions-rust-lang/setup-rust-toolchain@v1
47-
- name: install sipbot
48-
run: cargo install sipbot || true
4945
- name: Run wholesale E2E tests
5046
run: cargo test --features wholesale --test e2e_wholesale_test -- --nocapture
5147
timeout-minutes: 10

src/call/app/app_context.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ pub struct PendingQueuePlan {
149149
impl ApplicationContext {
150150
/// Create a new application context.
151151
pub fn new(db: DatabaseConnection, call_info: CallInfo, config: Arc<Config>) -> Self {
152+
let _ = rustls::crypto::ring::default_provider().install_default();
153+
152154
Self {
153155
session_vars: Arc::new(RwLock::new(HashMap::new())),
154156
queue_name: Arc::new(RwLock::new(None)),

0 commit comments

Comments
 (0)