Skip to content

MINOR: Revert assertion in MockProducerTest#9956

Merged
dajac merged 2 commits intoapache:trunkfrom
dengziming:fix-wrong-refactor
Jan 24, 2021
Merged

MINOR: Revert assertion in MockProducerTest#9956
dajac merged 2 commits intoapache:trunkfrom
dengziming:fix-wrong-refactor

Conversation

@dengziming
Copy link
Copy Markdown
Member

More detailed description of your change
In #9955 I made a mistake, !A && !B = ! (A || B), thank @g1geordie for pointing out my mistake.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@dengziming
Copy link
Copy Markdown
Member Author

dengziming commented Jan 24, 2021

@dajac Hi, David, Sorry for my carelessness, please take a look.

@dajac
Copy link
Copy Markdown
Member

dajac commented Jan 24, 2021

@dengziming Thanks. I missed this one. It might be better to revert to the previous version of the assertion in this case.

@dengziming
Copy link
Copy Markdown
Member Author

@dajac , You are right, the previous version of the assertion is more understandable.

Copy link
Copy Markdown
Member

@dajac dajac left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix. I’ll merge when tests are completed.

@dajac dajac changed the title NINOR: Fix wrong factor MINOR: Revert assertion in MockProducerTest Jan 24, 2021
@dajac dajac merged commit cb0e781 into apache:trunk Jan 24, 2021
ijuma added a commit to ijuma/kafka that referenced this pull request Jan 26, 2021
…e-allocations-lz4

* apache-github/trunk: (562 commits)
  MINOR: remove unused code from MessageTest (apache#9961)
  MINOR: Fix visibility of Log.{unflushedMessages, addSegment} methods (apache#9966)
  KAFKA-12229: Restore original class loader in integration tests using EmbeddedConnectCluster during shutdown  (apache#9942)
  KAFKA-12190: Fix setting of file permissions on non-POSIX filesystems (apache#9947)
  MINOR: Remove `toStruct` and `fromStruct` methods from generated protocol classes (apache#9960)
  MINOR: Fix typo in Utils#toPositive (apache#9943)
  MINOR: MessageUtil: remove some deadcode (apache#9931)
  MINOR: Update zstd-jni to 1.4.8-2 (apache#9957)
  MINOR: Revert assertion in MockProducerTest (apache#9956)
  MINOR: Optimize assertions in unit tests (apache#9955)
  MINOR: Tag `RaftEventSimulationTest` as `integration` and tweak it (apache#9925)
  MINOR: Update to Gradle 6.8.1 (apache#9953)
  MINOR: A few small group coordinator cleanups (apache#9952)
  MINOR: Upgrade ducktape to version 0.8.1  (apache#9933)
  MINOR: fix record time in test shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing (apache#9948)
  MINOR: Restore interrupt status when closing (apache#9863)
  KAFKA-10357: Extract setup of repartition topics from Streams partition assignor (apache#9848)
  KAFKA-12212; Bump Metadata API version to remove `ClusterAuthorizedOperations` fields (KIP-700) (apache#9945)
  MINOR: log 2min processing summary of StreamThread loop (apache#9941)
  MINOR: Drop enable.metadata.quorum config (apache#9934)
  ...
@dengziming dengziming deleted the fix-wrong-refactor branch October 8, 2022 12:03
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