Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-244

Sliding windows working incorrectly when timestamp attribute is defined

    XMLWordPrintable

Details

    Description

      Download app-ss-test-case.zip and run TimestampAttributeTest.

      When timestamp attribute is set in the past (lets say with timestamp of 30 days ago) it falls in every sliding window over time (e.g. 1s).

      Expected output:
      1
      0

      Actual output:
      1
      1

      Attachments

        1. app-ss-test-case.zip
          22 kB
        2. Event.java
          0.3 kB
        3. file.drl
          1 kB
        4. Transaction.java
          0.9 kB
        5. TransactionCompletedEvent.java
          1 kB
        6. TransactionCreatedEvent.java
          1 kB
        7. TransactionEvent.java
          1 kB

        Activity

          People

            mfusco@redhat.com Mario Fusco
            vgimbutas Vytautas Gimbutas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: