Bug 1073537 - Skip payload.info.revision check on non-official builds. r=froydnj

This commit is contained in:
Georg Fritzsche 2014-10-10 17:21:18 +02:00
Родитель e65176ab6b
Коммит dfa38a4ae0
2 изменённых файлов: 3 добавлений и 2 удалений

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

@ -158,7 +158,9 @@ function checkPayloadInfo(payload, reason) {
do_check_true("appUpdateChannel" in payload.info);
do_check_true("locale" in payload.info);
do_check_true("revision" in payload.info);
do_check_true(payload.info.revision.startsWith("http"));
if (Services.appinfo.isOfficial) {
do_check_true(payload.info.revision.startsWith("http"));
}
try {
// If we've not got nsIGfxInfoDebug, then this will throw and stop us doing

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

@ -10,7 +10,6 @@ skip-if = toolkit == 'gonk'
[test_TelemetryPing.js]
# Bug 676989: test fails consistently on Android
# fail-if = os == "android"
fail-if = !official # This test fails in unofficial builds because the payload revision is unavailable
[test_TelemetryPing_idle.js]
[test_TelemetryStopwatch.js]
[test_TelemetryPingBuildID.js]