Skip to content

fix: Android span e2e tests#397

Merged
abelonogov-ld merged 2 commits intomainfrom
andrey/fix-e2e-tests
Feb 26, 2026
Merged

fix: Android span e2e tests#397
abelonogov-ld merged 2 commits intomainfrom
andrey/fix-e2e-tests

Conversation

@abelonogov-ld
Copy link
Copy Markdown
Contributor

@abelonogov-ld abelonogov-ld commented Feb 26, 2026

Summary

Fixes and removes ignore on span e2e tests. Flag Eval on the launch was intervening with tests


Note

Low Risk
Low risk: changes are limited to the Android E2E test harness and test annotations, with no impact on production SDK logic beyond skipping a test-only span trigger during tests.

Overview
Fixes flaky Android span E2E tests by preventing BaseApplication from running flagEvaluation() during test runs (gated on testUrl == null), avoiding extra spans that interfered with assertions.

Re-enables previously ignored span-related E2E coverage by removing @Ignore from several trace/export and sampling tests in DisablingConfigOptionsE2ETest and SamplingE2ETest.

Written by Cursor Bugbot for commit 618e2b1. This will update automatically on new commits. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner February 26, 2026 18:54
@abelonogov-ld abelonogov-ld enabled auto-merge (squash) February 26, 2026 19:08
@abelonogov-ld abelonogov-ld merged commit 4991f22 into main Feb 26, 2026
25 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/fix-e2e-tests branch February 26, 2026 19:59
abelonogov-ld added a commit that referenced this pull request Feb 27, 2026
* main:
  chore: release main (#396)
  fix: Android span e2e tests (#397)
  fix: improve network response capture (#379)
  feat: initial upload of mobile-dotnet (#393)
  chore: release main (#394)
  fix: Fix event sorting in session replay export (#392)
  fix: Touch move event buffering using wrong clock and mismatched constants (#391)
abelonogov-ld added a commit that referenced this pull request Feb 27, 2026
## Summary

Fixes and removes ignore on span e2e tests. Flag Eval on the launch was
intervening with tests

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: changes are limited to the Android E2E test harness and test
annotations, with no impact on production SDK logic beyond skipping a
test-only span trigger during tests.
> 
> **Overview**
> Fixes flaky Android span E2E tests by preventing `BaseApplication`
from running `flagEvaluation()` during test runs (gated on `testUrl ==
null`), avoiding extra spans that interfered with assertions.
> 
> Re-enables previously ignored span-related E2E coverage by removing
`@Ignore` from several trace/export and sampling tests in
`DisablingConfigOptionsE2ETest` and `SamplingE2ETest`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
618e2b1. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
abelonogov-ld added a commit that referenced this pull request Feb 27, 2026
## Summary

Fixes and removes ignore on span e2e tests. Flag Eval on the launch was
intervening with tests

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: changes are limited to the Android E2E test harness and test
annotations, with no impact on production SDK logic beyond skipping a
test-only span trigger during tests.
> 
> **Overview**
> Fixes flaky Android span E2E tests by preventing `BaseApplication`
from running `flagEvaluation()` during test runs (gated on `testUrl ==
null`), avoiding extra spans that interfered with assertions.
> 
> Re-enables previously ignored span-related E2E coverage by removing
`@Ignore` from several trace/export and sampling tests in
`DisablingConfigOptionsE2ETest` and `SamplingE2ETest`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
618e2b1. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
abelonogov-ld added a commit that referenced this pull request Feb 27, 2026
* andrey/tile-compression:
  fix: Android span e2e tests (#397)
  match unit test
  chore: add CLAUDE.md (#398)
  chore: release main (#400)
  fix: correct react native session replay build step (#399)
abelonogov-ld added a commit that referenced this pull request Feb 28, 2026
* main:
  feat: Optional Jet Compose (#402)
  feat: Android Incremental Image Diff compression (#390)
  chore: add CLAUDE.md (#398)
  chore: release main (#400)
  fix: correct react native session replay build step (#399)
  chore: release main (#396)
  fix: Android span e2e tests (#397)
  fix: improve network response capture (#379)

# Conflicts:
#	sdk/@launchdarkly/mobile-dotnet/.vscode/tasks.json
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