зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
70b90869bd
Коммит
b4717abeb1
|
@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче