Skip to content

Conversation

@leoromanovsky
Copy link
Contributor

Motivation

Changes

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

@github-actions
Copy link
Contributor

CODEOWNERS have been resolved as:

tests/parametric/test_feature_flag_exposure/test_feature_flag_exposure.py  @DataDog/system-tests-core @DataDog/apm-sdk-capabilities

Add comprehensive resilience tests for Feature Flag Evaluation (FFE) to verify
behavior when Remote Configuration (RC) and agent services become unavailable:

1. **RC Resilience Test**: Uses network delays (5-second timeout) to simulate
   RC service being down/unreachable and verifies FFE continues working with
   cached configurations.

2. **Agent Resilience Test**: Uses network delays (8-second timeout) to simulate
   agent connectivity issues while preserving library cache, then verifies FFE
   works with local cached configurations.

3. **Recovery Test**: Tests complete RC recovery cycle with service restoration
   and new configuration updates.

Key improvements:
- Uses network delays for both RC and agent failure simulation in parametric tests
- Preserves library cache during agent connectivity issues
- Comprehensive error handling and cleanup procedures
- Proper approach for parametric test architecture vs weblog tests
- Clean imports and linting compliance

Tests cover production failure scenarios including network issues, timeouts,
and recovery cycles in the parametric test environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants