disable test log
use super::*;
+use crate::api::media_engine::MediaEngine;
use crate::api::{APIBuilder, API};
use crate::data::data_channel::data_channel_config::DataChannelConfig;
use crate::peer::peer_connection::peer_connection_test::*;
use crate::peer::peer_connection::PeerConnection;
+//use log::LevelFilter;
+//use std::io::Write;
use tokio::sync::mpsc;
+use tokio::time::Duration;
// EXPECTED_LABEL represents the label of the data channel we are trying to test.
// Some other channels may have been created during initialization (in the Wasm
@@ -90,15 +94,9 @@ func benchmarkDataChannelSend(b *testing.B, numChannels int) {
}
*/
-//TODO: finish test_data_channel
-use crate::api::media_engine::MediaEngine;
-use log::LevelFilter;
-use std::io::Write;
-use tokio::time::Duration;
-
#[tokio::test]
async fn test_data_channel_open() -> Result<()> {
- env_logger::Builder::new()
+ /*env_logger::Builder::new()
.format(|buf, record| {
writeln!(
buf,
@@ -111,7 +109,7 @@ async fn test_data_channel_open() -> Result<()> {
)
})
.filter(None, LevelFilter::Trace)
- .init();
+ .init();*/
//"handler should be called once"
{
