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

unit test failures not captured in evg tests

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

      pointed out here: https://github.com/mongodb/mongo-tools/issues/67

      to reproduce:

      $ . ./set_gopath.sh; go test ./common/log ./common/archive ./common/intents                                                                                                   
      # _/Users/michaelobrien/projects/mongo-tools/common/intents
      common/intents/intent_test.go:27: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:28: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:29: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:30: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:48: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:50: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:52: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:54: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:60: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:61: unknown Intent field 'MetadataPath' in struct literal
      common/intents/intent_test.go:61: too many errors
      ok  	_/Users/michaelobrien/projects/mongo-tools/common/log	0.011s
      # _/Users/michaelobrien/projects/mongo-tools/common/archive
      common/archive/multiplexer_roundtrip_test.go:59: not enough arguments in call to NewMultiplexer
      common/archive/multiplexer_roundtrip_test.go:165: not enough arguments in call to NewMultiplexer
      FAIL	_/Users/michaelobrien/projects/mongo-tools/common/archive [build failed]
      FAIL	_/Users/michaelobrien/projects/mongo-tools/common/intents [build failed]
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: