apache/pulsar

Hbase connector does not have working tests

Open

#14.434 geöffnet am 23. Feb. 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (3.485 Forks)batch import
help wantedtype/enhancement

Repository-Metriken

Stars
 (13.697 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 10h) (146 gemergte PRs in 30 T)

Beschreibung

Describe the bug

Hbase connector does not have working tests, thus its state and compatibility with various library changes is unclear.

To Reproduce

The only useful test (let's ignore HbaseSinkConfigTest test) is HbaseGenericRecordSinkTest with one test method which is disabled since the day it was committed in Jan 2019 https://github.com/apache/pulsar/pull/3368 : https://github.com/apache/pulsar/blob/9fe2f418200f4231326fc273e5671c5536b9bf65/pulsar-io/hbase/src/test/java/org/apache/pulsar/io/hbase/sink/HbaseGenericRecordSinkTest.java#L84-L85

I tried enabling the test and running it on my mac, the test resulted in panic and MacOS crash.

Integration tests were never finished and committed: https://github.com/apache/pulsar/pull/3695

Expected behavior

Working set of tests covering functionality, running on CI

Contributor Guide