@@ -509,7 +509,7 @@ describe('jest CommonJS', () => {
509
509
} ) . catch ( done )
510
510
} )
511
511
512
- it ( 'can work with Dynamic Instrumentation ' , ( done ) => {
512
+ it ( 'can work with Failed Test Replay ' , ( done ) => {
513
513
receiver . setSettings ( {
514
514
flaky_test_retries_enabled : true ,
515
515
di_enabled : true
@@ -565,7 +565,6 @@ describe('jest CommonJS', () => {
565
565
env : {
566
566
...getCiVisAgentlessConfig ( receiver . port ) ,
567
567
TESTS_TO_RUN : 'dynamic-instrumentation/test-' ,
568
- DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED : 'true' ,
569
568
DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1' ,
570
569
RUN_IN_PARALLEL : true
571
570
} ,
@@ -2537,7 +2536,7 @@ describe('jest CommonJS', () => {
2537
2536
} )
2538
2537
2539
2538
context ( 'dynamic instrumentation' , ( ) => {
2540
- it ( 'does not activate dynamic instrumentation if DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED is not set' , ( done ) => {
2539
+ it ( 'does not activate dynamic instrumentation if DD_TEST_FAILED_TEST_REPLAY_ENABLED is set to false ' , ( done ) => {
2541
2540
receiver . setSettings ( {
2542
2541
flaky_test_retries_enabled : true ,
2543
2542
di_enabled : true
@@ -2571,7 +2570,8 @@ describe('jest CommonJS', () => {
2571
2570
env : {
2572
2571
...getCiVisAgentlessConfig ( receiver . port ) ,
2573
2572
TESTS_TO_RUN : 'dynamic-instrumentation/test-hit-breakpoint' ,
2574
- DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1'
2573
+ DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1' ,
2574
+ DD_TEST_FAILED_TEST_REPLAY_ENABLED : 'false'
2575
2575
} ,
2576
2576
stdio : 'inherit'
2577
2577
}
@@ -2618,7 +2618,6 @@ describe('jest CommonJS', () => {
2618
2618
env : {
2619
2619
...getCiVisAgentlessConfig ( receiver . port ) ,
2620
2620
TESTS_TO_RUN : 'dynamic-instrumentation/test-hit-breakpoint' ,
2621
- DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED : 'true' ,
2622
2621
DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1'
2623
2622
} ,
2624
2623
stdio : 'inherit'
@@ -2703,7 +2702,6 @@ describe('jest CommonJS', () => {
2703
2702
env : {
2704
2703
...getCiVisAgentlessConfig ( receiver . port ) ,
2705
2704
TESTS_TO_RUN : 'dynamic-instrumentation/test-hit-breakpoint' ,
2706
- DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED : 'true' ,
2707
2705
DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1'
2708
2706
} ,
2709
2707
stdio : 'inherit'
@@ -2753,7 +2751,6 @@ describe('jest CommonJS', () => {
2753
2751
env : {
2754
2752
...getCiVisAgentlessConfig ( receiver . port ) ,
2755
2753
TESTS_TO_RUN : 'dynamic-instrumentation/test-not-hit-breakpoint' ,
2756
- DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED : 'true' ,
2757
2754
DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1'
2758
2755
} ,
2759
2756
stdio : 'inherit'
@@ -2793,7 +2790,6 @@ describe('jest CommonJS', () => {
2793
2790
env : {
2794
2791
...getCiVisAgentlessConfig ( receiver . port ) ,
2795
2792
TESTS_TO_RUN : 'dynamic-instrumentation/test-hit-breakpoint' ,
2796
- DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED : 'true' ,
2797
2793
DD_CIVISIBILITY_FLAKY_RETRY_COUNT : '1' ,
2798
2794
TEST_SHOULD_PASS_AFTER_RETRY : '1'
2799
2795
} ,
0 commit comments