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

import cycle between util and testutil

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.19, 4.0.5, 3.6.10, 4.1.7
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: