Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2748

TickTupleTest is useless

    XMLWordPrintableJSON

Details

    Description

      The test starts up a small topology on a simulated time cluster with TOPOLOGY_TICK_TUPLE_FREQ_SECS set to 1. Then it simulates 2 seconds of cluster time. This is not enough time to even launch the topology. How do I know this? Because the Bolt and Spout in the topology override `writeObject` so the resulting serialized bolt and spout are empty and trying to deserialize them results in an exception.

      Just running a topology that does nothing and never verifies that the ticks showed up is a really horrible test. We should either delete it entirely or actually verify that ticks are showing up once a second. I am leaning towards just removing it totally.

      Attachments

        Issue Links

          Activity

            People

              revans2 Robert Joseph Evans
              revans2 Robert Joseph Evans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m