Skip to content
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

BugFix: Fix the flaky test case #2247

Open
10 tasks
vikhyat187 opened this issue Nov 11, 2024 · 0 comments
Open
10 tasks

BugFix: Fix the flaky test case #2247

vikhyat187 opened this issue Nov 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vikhyat187
Copy link
Contributor

vikhyat187 commented Nov 11, 2024

Issue Description

1 failing
  1) Tasks
       PATCH /tasks
         Should add startedOn field when assignee passed as a payload:
      AssertionError: expected 1731347350 to equal 1731347351
      + expected - actual
      -1731347350
      +1731347351
      
      at Context.<anonymous> (test/integration/tasks.test.js:769:50)
      at Generator.next (<anonymous>)
      at fulfilled (test/integration/tasks.test.js:4:58)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)

This test case fails randomly, and passes on re-running it

Expected Behavior

  • The test case shouldn't fail any time. We should fix the logic of this test case, as due to this flaky test, people can sometime ignore the genuinely failing test cases too.

Current Behavior

Screenshots

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
@vikhyat187 vikhyat187 added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant