Skip to content

ScalaCheck generating sized absolute paths requires min(???) #42

@djspiewak

Description

@djspiewak

https://github.com/quasar-analytics/quasar/blob/master/mongodb/src/test/scala/quasar/physical/mongodb/collection.scala#L156

Adding sizeMin = 2 is required to avoid a case where the path generator only uses size = 1. Without this, all paths and all path names are sized to exactly 1, with no variation. With the parameter, everything appears to be randomly distributed.

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