You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "atharvalade (via GitHub)" <gi...@apache.org> on 2026/04/13 07:31:40 UTC

[I] fix(test): flaky `restart_sink_connector_continues_processing` integration test [iggy]

atharvalade opened a new issue, #3105:
URL: https://github.com/apache/iggy/issues/3105

   Fix flaky `restart_sink_connector_continues_processing` integration test
   
   Problem:
   
   The test `connectors::postgres::restart::restart_sink_connector_continues_processing` is intermittently failing in CI:
   FLAKY 2/4 [2.413s] integration::mod connectors::postgres::restart::restart_sink_connector_continues_processing
   
   
   Root Cause:
   
   `fetch_rows_as` in `core/integration/tests/connectors/fixtures/postgres/sink.rs` uses a sleep interval of `DEFAULT_POLL_INTERVAL_MS / 5` (10ms), giving it a total polling budget of only ~1 second (100 attempts × 10ms). All other polling helpers (`wait_for_sink_status`, `wait_for_table`) use the full 50ms interval, giving them ~5 seconds.
   
   After a connector restart, the sink needs to reconnect to Postgres and resume processing. On a loaded CI runner, 1 second is not always enough for the rows to appear, causing the test to fail with fewer rows than expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix(test): flaky `restart_sink_connector_continues_processing` integration test [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #3105: fix(test): flaky `restart_sink_connector_continues_processing` integration test
URL: https://github.com/apache/iggy/issues/3105


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix(test): flaky `restart_sink_connector_continues_processing` integration test [iggy]

Posted by "atharvalade (via GitHub)" <gi...@apache.org>.
atharvalade commented on issue #3105:
URL: https://github.com/apache/iggy/issues/3105#issuecomment-4234605668

   please assign this to me 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org