Skip to content

Fixes for Kafka Tests following the Proactor/Reactor split#3447

Merged
iancooper merged 29 commits into
masterfrom
kafka_fixes
Jan 15, 2025
Merged

Fixes for Kafka Tests following the Proactor/Reactor split#3447
iancooper merged 29 commits into
masterfrom
kafka_fixes

Conversation

@iancooper

Copy link
Copy Markdown
Member

No description provided.

@iancooper iancooper self-assigned this Dec 31, 2024
@iancooper iancooper added Bug v10 .NET Pull requests that update .net code labels Dec 31, 2024

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.84 -> 9.84)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.84 -> 9.84)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.84 -> 9.84)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.84 -> 9.84)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.74 -> 9.74)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.74 -> 9.74)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.72 -> 9.72)

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (9.73 -> 9.72)

View detailed results in CodeScene

…ts can only run locally, due to timing issues

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

/// </remarks>
/// <param name="cancellationToken"></param>
public Task PurgeAsync(CancellationToken cancellationToken = default(CancellationToken))
public async Task PurgeAsync(CancellationToken cancellationToken = default(CancellationToken))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ New issue: Code Duplication
The module contains 4 functions with similar structure: CommitAllOffsets,CommitOffsets,PurgeAsync,ReceiveAsync

Suppress

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

…'t run locally if not in debug, but better to note these over never running

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@iancooper iancooper marked this pull request as ready for review January 15, 2025 18:56

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.24 (9.04 -> 8.79)

  • Declining Code Health: 1 findings(s) 🚩

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@iancooper

Copy link
Copy Markdown
Member Author

Likely to be a straight check in from PR as it is fixing broken tests

@iancooper iancooper merged commit d1484fe into master Jan 15, 2025
@iancooper iancooper deleted the kafka_fixes branch January 15, 2025 19:04
DevJonny pushed a commit to DevJonny/Brighter that referenced this pull request Feb 28, 2026
…ommand#3447)

* fix: broken Kafka test

* fix: simplify the management of kafka tests with directories

* fix: make time base test more reliable

* chore: note issue with test and schema registry

* fix: issues with posting a message with delay

* fix: fix issues with timing

* fix: time and date issues caused by inconsistency between invariant and local culture decisions. Use invariant

* fix: note around skip tests that breaks if Docker container does not set auto-create for Kafka topics to false.

* fix: kafka producer should flush on close; test uses assume not create

* fix: make the kafka tests more robust

* fix: when we don't publish on async, must manually raise deliveryreport

* fix: close of consumer now more reliable in flushing offsets

* fix: try to make more reliable, changes to receive. many proactor tests can only run locally, due to timing issues

* chore: skip another test impacted by timing in CI

* chore: move tests to fragile that don't execute well in CI - many won't run locally if not in debug, but better to note these over never running

* chore: ensure fragile tests marked as such for CI

* chore: kill Confluent tests, they are not being run ever

* chore: another CI fragile test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 - In Progress Bug .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant