Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1742

import cycle between util and testutil

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.19, 4.0.5, 3.6.10, 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • None

      from github #101:

      When building mongo-tools 3.4.6 I've got this error

      go test github.com/mongodb/mongo-tools/common/util

      1. github.com/mongodb/mongo-tools/common/util
        import cycle not allowed in test
        package github.com/mongodb/mongo-tools/common/util (test)
        imports github.com/mongodb/mongo-tools/common/testutil
        imports github.com/mongodb/mongo-tools/common/options
        imports github.com/mongodb/mongo-tools/common/util
        FAIL github.com/mongodb/mongo-tools/common/util [setup failed]
        How to fix this?

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            william.banfield William Banfield
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: