Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Add test for out-of-order datapoints #258

Conversation

mattbostock
Copy link
Contributor

Similar to the existing TestAmendDatapointCausesError test, assert
that ErrOutOfOrderSample is returned if we try to append a sample
older than the most recent sample for a given series.

Similar to the existing `TestAmendDatapointCausesError` test, assert
that `ErrOutOfOrderSample` is returned if we try to append a sample
older than the most recent sample for a given series.
@gouthamve
Copy link
Collaborator

Hmm, what is interesting is that adding a OOO sample in the same appender gives no error! We silently drop it, not sure if we want that to be the behaviour.

@fabxc, your thoughts?

@brian-brazil
Copy link
Contributor

That should return an error I'd say.

@krasi-georgiev
Copy link
Contributor

superseded in : #387

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants