JSON -> JSON::MaybeXS

[?]
Dec 13, 2021, 9:36 PM
NDELYWA26JLL26XV2FEBKZ6LRKJKYWQQHU3HNZ6R6AEBSZMEPOZQC

Dependencies

  • [2] GLNY4IAX Builds controller: add a test for restarting builds, fix restarting builds
  • [3] RNWYZ3LB Test canceling builds.
  • [4] L3B3ZS37 JobsetEval/cancel: test & fix
  • [5] OKOQ3LNQ Admin/clear-queue-non-current: test behavior
  • [6] B3P72QIC t/Controller/Root: test narinfo path
  • [7] ZZ4HEML6 JobsetEval/restart-*: Write tests for the behavior
  • [8] VSSEUT3Z RunCommand: Move the json validation testing to its own test
  • [9] UWK5M3M6 runcommand.t: stop dumping the json
  • [10] 3AKZKWCR RunCommand: Test
  • [11] 4QI6G7YB tests: replace the flat list of contexts with a hash
  • [12] 57WJL5PW tests: remove unnecessary Cwd imports
  • [13] TTDUL6JB t/plugins/runcommand.t: output the filename if it fails to open

Change contents

  • replacement in t/Controller/Admin/clear-queue-non-current.t at line 4
    [5.58][5.58:96]()
    use JSON qw(decode_json encode_json);
    [5.58]
    [5.96]
    use JSON::MaybeXS qw(decode_json encode_json);
  • replacement in t/Controller/Build/cancel.t at line 5
    [3.70][3.70:108]()
    use JSON qw(decode_json encode_json);
    [3.70]
    [3.108]
    use JSON::MaybeXS qw(decode_json encode_json);
  • replacement in t/Controller/Build/restart.t at line 5
    [2.70][2.70:108]()
    use JSON qw(decode_json encode_json);
    [2.70]
    [2.108]
    use JSON::MaybeXS qw(decode_json encode_json);
  • replacement in t/Controller/JobsetEval/cancel.t at line 5
    [4.164][4.164:202]()
    use JSON qw(decode_json encode_json);
    [4.164]
    [4.202]
    use JSON::MaybeXS qw(decode_json encode_json);
  • replacement in t/Controller/JobsetEval/restart.t at line 5
    [7.94][7.94:132]()
    use JSON qw(decode_json encode_json);
    [7.94]
    [7.132]
    use JSON::MaybeXS qw(decode_json encode_json);
  • replacement in t/Controller/Root/narinfo.t at line 5
    [6.57][6.57:83]()
    use JSON qw(decode_json);
    [6.57]
    [6.83]
    use JSON::MaybeXS qw(decode_json);
  • replacement in t/plugins/RunCommand/basic.t at line 4
    [7.1297][7.1297:1307]()
    use JSON;
    [7.1288]
    [7.1307]
    use JSON::MaybeXS;
  • replacement in t/plugins/RunCommand/basic.t at line 45
    [7.2584][7.2584:2610]()
    my $json = JSON->new;
    [7.2584]
    [7.2610]
    my $json = JSON::MaybeXS->new;