Skip to content

Some "fuzzy logic" - allow greater-or-equal comparison of results #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

sohaibiftikhar
Copy link

Sometimes some The new nomad version's reply to a job's status contains a timestamp SubmitTime (or Submit Date), see http-api-tests-tls/broccoli-nomad/api-v1-instances-edit-parameter-start/expected/response-data . This results in red tests when comparing with ==. Luckily, jq can do various comparisons, see https://stedolan.github.io/jq/manual/v1.4/#ConditionalsandComparisons . Still, this new option is far from beautiful. One thing that I strongly dislike is that the new option is set per-directory, not per test. So if you feel that this is too fuzzy, feel free to reject it and I'll think of something more granular.

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

Successfully merging this pull request may close these issues.

2 participants