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

tests error with go 1.13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.24
    • Fix Version/s: None
    • Component/s: mongofiles
    • Labels:
      None

      Description

      When building and testing mongo-tools using go 1.13, the tests fail with

      flag provided but not defined: -test.testlogfile
      Usage of /tmp/guix-build-mongo-tools-3.4.24.drv-0/go-build133731488/b001/mongofiles.test:
        -convey-json
              When true, emits results in JSON blocks. Default: 'false'
        -convey-silent
              When true, all output from GoConvey is suppressed.
        -convey-story
              When true, emits story output, otherwise emits dot output. When not provided, this flag mirros the value of the '-test.v' flag
        -test.types string
              Comma-separated list of the types of tests to be run (default "unit")
      FAIL    github.com/mongodb/mongo-tools/mongofiles       0.002s
      FAIL
      command "go" "test" "-v" "github.com/mongodb/mongo-tools/mongofiles" failed with status 1
      

      This seems to be caused by changes to the testing package . More information available in Go issue 31859.

      It would be great if mongo-tools 3.4 could support Go 1.13.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jackhill@jackhill.us Jack Hill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: