Skip to content

MINOR: Code cleanup and assertion message fixes in Connect integration tests#8750

Merged
kkonstantine merged 1 commit intoapache:trunkfrom
showuon:refactor_kafka-10052
Jun 2, 2020
Merged

MINOR: Code cleanup and assertion message fixes in Connect integration tests#8750
kkonstantine merged 1 commit intoapache:trunkfrom
showuon:refactor_kafka-10052

Conversation

@showuon
Copy link
Copy Markdown
Member

@showuon showuon commented May 29, 2020

  1. Remove redundant connect.stop(); since we'll do it after each test case in close() function
  2. Refine the error message to make it better explain the errors

Committer Checklist (excluded from commit message)

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

@showuon
Copy link
Copy Markdown
Member Author

showuon commented May 29, 2020

hi @kkonstantine , I did some investigation for this flaky errors days ago, but today, I found out you already fix it, and fix it with better way! Cool!
This is a small refactor PR. please help review. Thanks.

@kkonstantine
Copy link
Copy Markdown
Contributor

ok to test

@kkonstantine kkonstantine changed the title kafka-10052: Small Refactor MINOR: Code cleanup and assertion message fixes in Connect integration tests Jun 1, 2020
Copy link
Copy Markdown
Contributor

@kkonstantine kkonstantine 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 @showuon. Nice catches.

@kkonstantine kkonstantine merged commit 88d996f into apache:trunk Jun 2, 2020
@kkonstantine
Copy link
Copy Markdown
Contributor

Merged to trunk and backported to 2.6

kkonstantine pushed a commit that referenced this pull request Jun 2, 2020
…n tests (#8750)

1. Remove redundant connect#stop from test in InternalTopicsIntegrationTest since we'll do it after each test case in the @after method
2. Refine the error message in topic assertions to make it better explain the errors

Reviewers: Konstantine Karantasis <konstantine@confluent.io>
@showuon showuon deleted the refactor_kafka-10052 branch June 2, 2020 02:18
ijuma added a commit to confluentinc/kafka that referenced this pull request Jun 3, 2020
* apache-github/2.6: (32 commits)
  KAFKA-10083: fix failed testReassignmentWithRandomSubscriptionsAndChanges tests (apache#8786)
  KAFKA-9945: TopicCommand should support --if-exists and --if-not-exists when --bootstrap-server is used (apache#8737)
  KAFKA-9320: Enable TLSv1.3 by default (KIP-573) (apache#8695)
  KAFKA-10082: Fix the failed testMultiConsumerStickyAssignment (apache#8777)
  MINOR: Remove unused variable to fix spotBugs failure (apache#8779)
  MINOR: ChangelogReader should poll for duration 0 for standby restore (apache#8773)
  KAFKA-10030: Allow fetching a key from a single partition (apache#8706)
  Kafka-10064 Add documentation for KIP-571 (apache#8760)
  MINOR: Code cleanup and assertion message fixes in Connect integration tests (apache#8750)
  KAFKA-9987: optimize sticky assignment algorithm for same-subscription case (apache#8668)
  KAFKA-9392; Clarify deleteAcls javadoc and add test for create/delete timing (apache#7956)
  KAFKA-10074: Improve performance of `matchingAcls` (apache#8769)
  KAFKA-9494; Include additional metadata information in DescribeConfig response (KIP-569) (apache#8723)
  KAFKA-10056; Ensure consumer metadata contains new topics on subscription change (apache#8739)
  KAFKA-10029; Don't update completedReceives when channels are closed to avoid ConcurrentModificationException (apache#8705)
  KAFKA-10061; Fix flaky `ReassignPartitionsIntegrationTest.testCancellation` (apache#8749)
  KAFKA-9130; KIP-518 Allow listing consumer groups per state (apache#8238)
  KAFKA-9501: convert between active and standby without closing stores (apache#8248)
  MINOR: Relax Percentiles test (apache#8748)
  MINOR: regression test for task assignor config (apache#8743)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants