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

typed mongoimport integration test failures

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: None
    • None

      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)
      

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

              Created:
              Updated:
              Resolved: