Commit a4663eb2 authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

Disable V8ScriptValueSerializerForModulesTest on Linux

These tests are crashing on the chromium.linux/Cast Audio Linux bot.

Bug: 795627
Change-Id: Ifefee9f86a15a80d5fc6a455b37482dbad264bc2
TBR: haraken@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/831313Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524650}
parent aaf83c91
......@@ -13,6 +13,7 @@
#include "bindings/modules/v8/V8DOMFileSystem.h"
#include "bindings/modules/v8/V8RTCCertificate.h"
#include "bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h"
#include "build/build_config.h"
#include "core/typed_arrays/DOMArrayBuffer.h"
#include "modules/crypto/CryptoResultImpl.h"
#include "modules/filesystem/DOMFileSystem.h"
......@@ -143,7 +144,13 @@ static const uint8_t kEcdsaCertificateEncoded[] = {
0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d,
0x2d, 0x0a};
// TODO(https://crbug.com/795627): This test is crashing on the Cast Audio Linux
// bot.
#if defined(OS_LINUX)
TEST(V8ScriptValueSerializerForModulesTest, DISABLED_RoundTripRTCCertificate) {
#else
TEST(V8ScriptValueSerializerForModulesTest, RoundTripRTCCertificate) {
#endif
V8TestingScope scope;
// Make a certificate with the existing key above.
......@@ -168,7 +175,13 @@ TEST(V8ScriptValueSerializerForModulesTest, RoundTripRTCCertificate) {
EXPECT_EQ(kEcdsaCertificate, pem.Certificate());
}
// TODO(https://crbug.com/795627): This test is crashing on the Cast Audio Linux
// bot.
#if defined(OS_LINUX)
TEST(V8ScriptValueSerializerForModulesTest, DISABLED_DecodeRTCCertificate) {
#else
TEST(V8ScriptValueSerializerForModulesTest, DecodeRTCCertificate) {
#endif
V8TestingScope scope;
// This is encoded data generated from Chromium (around M55).
......@@ -189,7 +202,14 @@ TEST(V8ScriptValueSerializerForModulesTest, DecodeRTCCertificate) {
EXPECT_EQ(kEcdsaCertificate, pem.Certificate());
}
// TODO(https://crbug.com/795627): This test is crashing on the Cast Audio Linux
// bot.
#if defined(OS_LINUX)
TEST(V8ScriptValueSerializerForModulesTest,
DISABLED_DecodeInvalidRTCCertificate) {
#else
TEST(V8ScriptValueSerializerForModulesTest, DecodeInvalidRTCCertificate) {
#endif
V8TestingScope scope;
// This is valid, except that "private" is not a valid private key PEM and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment