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

import cycle between util and testutil

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.4.19, 4.0.5, 3.6.10, 4.1.7
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: