Unverified Commit ed65f5e9 authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

Re-enable image_list test with updated certificate(good for 3650 days). (#64519)

Added instructions on how to regenerate certificate too.
parent 6536f650
...@@ -441,14 +441,12 @@ tasks: ...@@ -441,14 +441,12 @@ tasks:
Measures image loading performance on release (aot) build. Measures image loading performance on release (aot) build.
stage: devicelab stage: devicelab
required_agent_capabilities: ["linux/android"] required_agent_capabilities: ["linux/android"]
flaky: true
image_list_jit_reported_duration: image_list_jit_reported_duration:
description: > description: >
Measures image loading performance on debug (jit) build. Measures image loading performance on debug (jit) build.
stage: devicelab stage: devicelab
required_agent_capabilities: ["linux/android"] required_agent_capabilities: ["linux/android"]
flaky: true
build_benchmark: build_benchmark:
description: > description: >
......
...@@ -16,28 +16,36 @@ import 'package:flutter/services.dart'; ...@@ -16,28 +16,36 @@ import 'package:flutter/services.dart';
/// ///
/// This is used in [$FH/flutter/devicelab/bin/tasks/image_list_reported_duration.dart] test. /// This is used in [$FH/flutter/devicelab/bin/tasks/image_list_reported_duration.dart] test.
/// ///
///
/// To generate new certificate:
///
/// $ openssl req -new -out image_list.csr
/// Generating a 2048 bit RSA private key
/// Enter PEM pass phrase: <random string>
/// ...
/// Common Name (eg, fully qualified host name) []:localhost
///
/// Copy content of the privateKey below into image_list.key file, then
/// $ openssl x509 -req -sha256 -days 3650 -in image_list.csr -signkey image_list.key -out image_list.crt
///
/// Copy content of the image_list.crt into certificate string below.
String certificate = ''' String certificate = '''
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIDlTCCAn2gAwIBAgIUNfw2s1D9qwYw8bMEZ1rdNVQXi9YwDQYJKoZIhvcNAQEL MIICpDCCAYwCCQD1kfAz8IhbazANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls
BQAwcjELMAkGA1UEBhMCVVMxETAPBgNVBAgMCE5ldyBZb3JrMRIwEAYDVQQHDAlS b2NhbGhvc3QwHhcNMjAwODI0MjE1MTUwWhcNMz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0/LtgltXwHUId7QzJc15W9Q7adsNVTpOCo7dOj2KWz6sEtFGkYfwLV zhunXKY+zRGGtr09nYoN9UVizS5fAFb+h2x3Tw8lsxs4JpPQeWTbGK9Ci+jyfuZu
5uiTslRdWCCOUD9iZjCtlPqALkGnWyhNiFJESLbVNC6MURyMngcALW0JTMwc2oDj xPvdU8I8oxiTRPoWa1KpPm6UVvcrjyftvbqJ4l7cZ8KZN4JNSZlphX8lIM14xR4H
MxtdNkMl0cdzPlhXMDKIKpY9bWbRKUUdsfOnAgMBAAGjIzAhMB8GA1UdEQQYMBaC 12sFFTcYWPNDTqO1A9MSflG4OkG59LDHV36JAEqB61pP8hipowVp48+rzD2DVpqb
CWxvY2FsaG9zdIIJMTI3LjAuMC4xMA0GCSqGSIb3DQEBCwUAA4IBAQAOYegYQ05v r/Mw+0x0HENUTMVExSA5rj/3fxNMggUSl2YsujVJjkb1LiQNPORX7rBndcjknAMt
S/220FvmwH2X+/r0rcjJ5ZyOGq/MTNMhqXZKHgcNELpOLpDMZVvseXHeUKDrqZFi TvaTkrwwZA4=
4aemMT5zbuYy3yRkQ/X39GEsksi2/Ii6Xk2zw6IJGL6hvneJEbUP3LN1POy2JLJ/
Wt7Uda8CWa+H9+0sognT6+/86Q2fWMYnFFnAQk5wW4pYDlgInupoXzjcG0kmPgOO
ijFsQ67xa0nUn1Llviy3pHX50IU2C+cwlWKNgxfmj6HKG9XIlu8gC/R+Ruf4aSUZ
QT170jY8Lf6PzqLmbIW86tcKftbkP5RiEp8ESg9jDdNjhwZjxlF13aAVE8uJxP0j
I12tWIG+68AM
-----END CERTIFICATE----- -----END CERTIFICATE-----
'''; ''';
......
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