Skip to content

test/test_big_integer_v8.dart test is flaky #42

@natebosch

Description

@natebosch

The test stringConv will fail infrequently. I found that if I leave it running long enough I'll hit a failure. while dart test/test_big_integer_v8.dart; do; done

Since it uses math.Random() I'm guessing there is an implementation bug that is exposed with only certain numbers. Here are some I've hit:

Expected: '3176795220495055933489697'
  Actual: '3176795220495056201925153'

Expected: '1489395682405911'
  Actual: '1489395950841367'

Expected: '780479349944740000586191'
  Actual: '780479349944740269021647'

Expected: '36894956365158654'
  Actual: '36894956633594110'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions