SNEWS2 / SNEWS_Publishing_Tools

Publishing Tool for SNEWS
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Test-connection echo #53

Closed joesmolsky closed 1 year ago

joesmolsky commented 1 year ago

When I run snews_pt test-connection I get the following echo:

/Users/joe/src/gitjoe/SNEWS_Publishing_Tools/snews_pt/__init__.py:23: UserWarning: You are using default detector name "TEST"
Please change this by snews_pt.snews_pt_utils.set_name()
  warnings.warn(warning_text, UserWarning)
Testing your connection to kafka://kafka.scimma.org/snews.experiments-firedrill.
 Should take 4-5 seconds...

The test takes about 4-5 seconds, but I do not receive an echo indicating the success or failure of the test.

KaraMelih commented 1 year ago

can you try passing -s 6 this should indicate, how many messages in the past it should be looking for

joesmolsky commented 1 year ago

I tried with it with -s 6 and --no-firedrill. It does not change the output.

joesmolsky commented 1 year ago

Fixed by commit https://github.com/SNEWS2/SNEWS_Publishing_Tools/commit/b5238789ded85efe427b3fe3bb1d43a54a93a378