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

Intermittent test failure from NewNonNegativeFixedDecFromString #1802

Open
4 tasks
ryanchristo opened this issue Feb 23, 2023 · 2 comments
Open
4 tasks

Intermittent test failure from NewNonNegativeFixedDecFromString #1802

ryanchristo opened this issue Feb 23, 2023 · 2 comments
Labels
good first issue Good for newcomers Scope: types Issues that update the types module Type: Bug Something isn't working

Comments

@ryanchristo
Copy link
Member

Summary of Bug

--- FAIL: TestDec (0.18s)
    --- FAIL: TestDec/TestInvalidNewNonNegativeFixedDecFromString (0.13s)
        dec_test.go:22: [rapid] failed after 81 tests: (*T).FailNow() called
            To reproduce, specify -run="TestDec/TestInvalidNewNonNegativeFixedDecFromString" -rapid.failfile="testdata/rapid/TestDec_TestInvalidNewNonNegativeFixedDecFromString/TestDec_TestInvalidNewNonNegativeFixedDecFromString-20230223201016-1[31](https://github.com/regen-network/regen-ledger/actions/runs/4256417969/jobs/7405278686#step:6:32)23.fail" (or -rapid.seed=14414112925016078784)
            Failed test output:
        dec_test.go:211: [rapid] draw n: 0x0
        dec_test.go:218: [rapid] draw s: "NAn"
        dec_test.go:220: 
            	Error Trace:	/home/runner/work/regen-ledger/regen-ledger/types/math/dec_test.go:220
            	            				/home/runner/work/regen-ledger/regen-ledger/types/math/engine.go:319
            	            				/home/runner/work/regen-ledger/regen-ledger/types/math/engine.go:201
            	            				/home/runner/work/regen-ledger/regen-ledger/types/math/engine.go:113
            	Error:      	An error is expected but got nil.
            	Test:       	TestDec/TestInvalidNewNonNegativeFixedDecFromString
FAIL

Version

main

Steps to Reproduce

https://github.com/regen-network/regen-ledger/actions/runs/4256417969/jobs/7405278686


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ryanchristo ryanchristo added Type: Bug Something isn't working Scope: types Issues that update the types module labels Feb 23, 2023
@ryanchristo ryanchristo added the good first issue Good for newcomers label Apr 3, 2023
@ryanchristo
Copy link
Member Author

@ryanchristo
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Scope: types Issues that update the types module Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant