Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-1264

typed mongoimport integration test failures

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.11
    • Component/s: None
    • Labels:
      None

      Description

      On PPC (logs here, task here):

       [2016/06/23 01:55:35.982] ./typed_fields_test.go:50:7: error: ‘columnSpec’ declared and not used
       [2016/06/23 01:55:35.982]    var columnSpec ColumnSpec
      

      The static checking for "declared but not used" is more strict under gccgo than the regular go compiler, which I'm guessing is the root cause here.

      On windows 32:
      task here, logs here

       [2016/06/22 14:02:36.459] # _/C_/data/mci/20582480d989153dbc713026f739f763/src/mongoimport
       [2016/06/22 14:02:36.459] .\typed_fields_test.go:100: constant 2147483648 overflows int
       [2016/06/22 14:02:36.459] .\typed_fields_test.go:106: constant -2147483649 overflows int
       [2016/06/22 14:02:36.459] .\typed_fields_test.go:348: constant 2147483648 overflows int
       [2016/06/22 14:02:36.459] .\typed_fields_test.go:354: constant -2147483649 overflows int
      

      On solaris (task, logs)

       [2016/06/22 14:14:56.778] ./typed_fields_test.go:100:33: error: integer constant overflow
       [2016/06/22 14:14:56.778]     So(value.(int), ShouldEqual, 2147483648)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zach.snow Zach Snow
              Reporter:
              mpobrien Michael O'Brien
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: