Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      There are tests which use both PowerMock and EasyMock. I have put those in https://issues.apache.org/jira/browse/KAFKA-14132. Tests here rely solely on EasyMock.

      Unless stated in brackets the tests are in the streams module.

      A list of tests which still require to be moved from EasyMock to Mockito as of 2nd of August 2022 which do not have a Jira issue and do not have pull requests I am aware of which are opened:

      In Review
      Merged

      1. WorkerConnectorTest (connect) (owner: yash.mayya )
      2. WorkerCoordinatorTest (connect) (owner: yash.mayya )
      3. RootResourceTest (connect) (owner: yash.mayya )
      4. ByteArrayProducerRecordEquals (connect) (owner: yash.mayya )
      5. KStreamFlatTransformTest (owner: Christo)
      6. KStreamFlatTransformValuesTest (owner: Christo)
      7. KStreamPrintTest (owner: Christo)
      8. KStreamRepartitionTest (owner: Christo)
      9. MaterializedInternalTest (owner: Christo)
      10. TransformerSupplierAdapterTest (owner: Christo)
      11. KTableSuppressProcessorMetricsTest (owner: Christo)
      12. ClientUtilsTest (owner: Christo)
      13. HighAvailabilityStreamsPartitionAssignorTest (owner: Christo)
      14. TopologyTest (owner: Christo)
      15. KTableSuppressProcessorTest (owner: Christo)
      16. ChangeLoggingSessionBytesStoreTest (owner: Christo)
      17. ChangeLoggingTimestampedWindowBytesStoreTest (owner: Christo)
      18. ChangeLoggingWindowBytesStoreTest (owner: Christo)
      19. MeteredTimestampedWindowStoreTest (owner: Christo)
      20. StreamsRebalanceListenerTest (owner: Christo)
      21. TimestampedKeyValueStoreMaterializerTest (owner: Christo)
      22. CachingInMemoryKeyValueStoreTest (owner: Christo)
      23. CachingInMemorySessionStoreTest (owner: Christo)
      24. CachingPersistentSessionStoreTest (owner: Christo)
      25. CachingPersistentWindowStoreTest (owner: Christo)
      26. ChangeLoggingKeyValueBytesStoreTest (owner: Christo)
      27. ChangeLoggingTimestampedKeyValueBytesStoreTest (owner: Christo)
      28. CompositeReadOnlyWindowStoreTest (owner: Christo)
      29. KeyValueStoreBuilderTest (owner: Christo)
      30. RocksDBStoreTest (owner: Christo)
      31. StreamThreadStateStoreProviderTest (owner: Christo)
      32. TaskManagerTest (owner: Christo) https://github.com/apache/kafka/pull/13874, https://github.com/apache/kafka/pull/13897, https://github.com/apache/kafka/pull/13873
      33. InternalTopicManagerTest (owner: Christo)
      34. ProcessorContextImplTest (owner: Christo)
      35. WriteConsistencyVectorTest (owner: Christo)
      36. StreamsAssignmentScaleTest (owner: Christo)
      37. StreamsPartitionAssignorTest (owner: Christo)
      38. AssignmentTestUtils (owner: Christo)
      39. ProcessorStateManagerTest (owner: Matthew) (takeover: Christo) https://github.com/apache/kafka/pull/13932 
      40. StandbyTaskTest (owner: Matthew) (takeover: Christo)
      41. StoreChangelogReaderTest (owner: Matthew) https://github.com/apache/kafka/pull/12524
      42. StreamTaskTest (owner: Matthew) (takeover: Christo) https://github.com/apache/kafka/pull/14716
      43. StreamThreadTest (owner: Matthew) (takeover: Christo) https://github.com/apache/kafka/pull/13932 
      44. StreamsMetricsImplTest (owner: Dalibor) (takeover: Christo)
      45. TimeOrderedCachingPersistentWindowStoreTest (owner: shekharrajak)
      46. TimeOrderedWindowStoreTest (owner: shekharrajak)
      47. AbstractStreamTest (owner: Christo)
      48. KStreamTransformValuesTest (owner: Christo)
      49. KTableImplTest (owner: Christo)
      50. KTableTransformValuesTest (owner: Christo)
      51. SessionCacheFlushListenerTest (owner: Christo)
      52. TimestampedCacheFlushListenerTest (owner: Christo)
      53. TimestampedTupleForwarderTest (owner: Christo)
      54. ActiveTaskCreatorTest (owner: Christo)
      55. ChangelogTopicsTest (owner: Christo)
      56. GlobalProcessorContextImplTest (owner: Christo)
      57. RecordCollectorTest (owner: Christo)
      58. StateRestoreCallbackAdapterTest (owner: Christo)
      59. StoreToProcessorContextAdapterTest (owner: Christo)
      60. StreamsProducerTest (owner: Nelson)
      61. TopologyMetadataTest (owner: Nelson)
      62. GlobalStateStoreProviderTest (owner: Nelson)
      63. KeyValueIteratorFacadeTest (owner: yash.mayya) (takeover: Christo)
      64. KeyValueSegmentTest (owner: yash.mayya) (takeover: Christo)
      65. MeteredKeyValueStoreTest (owner: yash.mayya) (takeover: Christo)
      66. MeteredSessionStoreTest (owner: yash.mayya) (takeover: Christo)
      67. MeteredTimestampedKeyValueStoreTest (owner: yash.mayya) (takeover: Christo)
      68. MeteredWindowStoreTest (owner: yash.mayya) (takeover: Christo)
      69. ReadOnlyKeyValueStoreFacadeTest (owner: yash.mayya) (takeover: Christo)
      70. ReadOnlyWindowStoreFacadeTest (owner: yash.mayya) (takeover: Christo)
      71. RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest (owner: Fei Xie) (takeover: Christo)
      72. RocksDBRangeIteratorTest (owner: Christo)
      73. TimestampedKeyValueStoreBuilderTest (owner: Christo)
      74. TimestampedSegmentTest (owner: Christo)
      75. TimestampedWindowStoreBuilderTest (owner: Christo)
      76. WindowStoreBuilderTest (owner: yash.mayya - https://github.com/apache/kafka/pull/14152
      77. RocksDBMetricsRecordingTriggerTest (owner: Christo)
      78. SessionStoreBuilderTest (owner: Nelson)

      The coverage report for the above tests after the change should be >= to what the coverage is now.

      Attachments

        Activity

          People

            christo_lolov Christo Lolov
            christo_lolov Christo Lolov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: