Bug 1643058: Make these tests fail instead of timing out if ICE fails. r=jib

Differential Revision: https://phabricator.services.mozilla.com/D80947
This commit is contained in:
Byron Campen [:bwc] 2020-06-25 13:22:10 +00:00
Родитель 70b90869bd
Коммит b4717abeb1
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -122,6 +122,8 @@
assert_true(had_checking, 'state should pass checking before' +
' reaching connected or completed');
t.done();
} else if (iceConnectionState === 'failed') {
assert_unreached("ICE should not fail");
}
});
@ -165,6 +167,8 @@ async_test(t => {
'Expect ICE transport to be in connected state when' +
' iceConnectionState is completed');
t.done();
} else if (iceConnectionState === 'failed') {
assert_unreached("ICE should not fail");
}
});