@@ -476,13 +476,13 @@ func TestWithoutReplayFailedTests(t *testing.T) {
476
476
data : withoutReplayFailedTests {
477
477
ReplayingErr : fmt .Errorf ("some error" ),
478
478
BuildID : "build-123" ,
479
- PRNumber : "pr- 123" ,
479
+ PRNumber : "123" ,
480
480
},
481
481
want : strings .Join (
482
482
[]string {
483
483
"$\\ textcolor{red}{\\ textsf{Errors occurred during REPLAYING mode. Please fix them to complete your PR.}}$" ,
484
484
"" ,
485
- "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/replaying_test.log)" ,
485
+ "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/replaying_test.log)" ,
486
486
},
487
487
"\n " ,
488
488
),
@@ -491,13 +491,13 @@ func TestWithoutReplayFailedTests(t *testing.T) {
491
491
name : "without replay error" ,
492
492
data : withoutReplayFailedTests {
493
493
BuildID : "build-123" ,
494
- PRNumber : "pr- 123" ,
494
+ PRNumber : "123" ,
495
495
},
496
496
want : strings .Join (
497
497
[]string {
498
498
"$\\ textcolor{green}{\\ textsf{All tests passed!}}$" ,
499
499
"" ,
500
- "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/replaying_test.log)" ,
500
+ "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/replaying_test.log)" ,
501
501
},
502
502
"\n " ,
503
503
),
@@ -536,16 +536,16 @@ func TestRecordReplay(t *testing.T) {
536
536
HasTerminatedTests : true ,
537
537
RecordingErr : fmt .Errorf ("some error" ),
538
538
BuildID : "build-123" ,
539
- PRNumber : "pr- 123" ,
539
+ PRNumber : "123" ,
540
540
},
541
541
want : strings .Join (
542
542
[]string {
543
- "$\\ textcolor{green}{\\ textsf{Tests passed during RECORDING mode:}}$" , "`a`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/a.log)]" ,
544
- "`b`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/b.log)]" ,
545
- "`c`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/c.log)]" ,
543
+ "$\\ textcolor{green}{\\ textsf{Tests passed during RECORDING mode:}}$" , "`a`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/a.log)]" ,
544
+ "`b`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/b.log)]" ,
545
+ "`c`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/c.log)]" ,
546
546
"$\\ textcolor{red}{\\ textsf{Tests failed when rerunning REPLAYING mode:}}$" ,
547
- "`b`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/replaying_build_after_recording/b_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/replaying_after_recording/b.log)]" ,
548
- "`c`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/replaying_build_after_recording/c_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/replaying_after_recording/c.log)]" ,
547
+ "`b`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/replaying_build_after_recording/b_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/replaying_after_recording/b.log)]" ,
548
+ "`c`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/replaying_build_after_recording/c_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/replaying_after_recording/c.log)]" ,
549
549
"" ,
550
550
"" ,
551
551
"Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made." ,
@@ -557,14 +557,14 @@ func TestRecordReplay(t *testing.T) {
557
557
"" ,
558
558
"" ,
559
559
"$\\ textcolor{red}{\\ textsf{Tests failed during RECORDING mode:}}$" ,
560
- "`d`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/recording_build/d_recording_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/recording/d.log)]" ,
561
- "`e`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/recording_build/e_recording_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/recording/e.log)]" ,
560
+ "`d`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/recording_build/d_recording_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/d.log)]" ,
561
+ "`e`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/recording_build/e_recording_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/e.log)]" ,
562
562
"" ,
563
563
"$\\ textcolor{red}{\\ textsf{Several tests got terminated during RECORDING mode.}}$" ,
564
564
"$\\ textcolor{red}{\\ textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$" ,
565
565
"" ,
566
566
"" ,
567
- "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/recording_test.log) or the [debug log](https://console.cloud.google.com/storage/browser/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/recording) for each test" ,
567
+ "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/recording_test.log) or the [debug log](https://console.cloud.google.com/storage/browser/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording) for each test" ,
568
568
},
569
569
"\n " ,
570
570
),
@@ -580,13 +580,13 @@ func TestRecordReplay(t *testing.T) {
580
580
},
581
581
AllRecordingPassed : true ,
582
582
BuildID : "build-123" ,
583
- PRNumber : "pr- 123" ,
583
+ PRNumber : "123" ,
584
584
},
585
585
want : strings .Join (
586
586
[]string {
587
- "$\\ textcolor{green}{\\ textsf{Tests passed during RECORDING mode:}}$" , "`a`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/a.log)]" ,
588
- "`b`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/b.log)]" ,
589
- "`c`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/recording/c.log)]" ,
587
+ "$\\ textcolor{green}{\\ textsf{Tests passed during RECORDING mode:}}$" , "`a`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/a.log)]" ,
588
+ "`b`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/b.log)]" ,
589
+ "`c`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording/c.log)]" ,
590
590
"" ,
591
591
"$\\ textcolor{green}{\\ textsf{No issues found for passed tests after REPLAYING rerun.}}$" ,
592
592
"" ,
@@ -597,7 +597,7 @@ func TestRecordReplay(t *testing.T) {
597
597
"" ,
598
598
"$\\ textcolor{green}{\\ textsf{All tests passed!}}$" ,
599
599
"" ,
600
- "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-pr- 123/artifacts/build-123/build-log/recording_test.log) or the [debug log](https://console.cloud.google.com/storage/browser/ci-vcr-logs/beta/refs/heads/auto-pr -pr-123/artifacts/build-123/recording) for each test" ,
600
+ "View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/build-log/recording_test.log) or the [debug log](https://console.cloud.google.com/storage/browser/ci-vcr-logs/beta/refs/heads/auto-pr-123/artifacts/build-123/recording) for each test" ,
601
601
},
602
602
"\n " ,
603
603
),
0 commit comments