You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/09/14 14:09:36 UTC

qpid-proton git commit: NO-JIRA: go take 'go install' out of examples_test.go

Repository: qpid-proton
Updated Branches:
  refs/heads/master cf5e939a9 -> acfe8a3b3


NO-JIRA: go take 'go install' out of examples_test.go

Causing problems on travis builds due to non-standard Go setup.
Go binding must be built/installed before running examples_test.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/acfe8a3b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/acfe8a3b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/acfe8a3b

Branch: refs/heads/master
Commit: acfe8a3b3716622f4de15db9fa4edfe407101897
Parents: cf5e939
Author: Alan Conway <ac...@redhat.com>
Authored: Wed Sep 13 18:23:25 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Thu Sep 14 08:32:19 2017 -0400

----------------------------------------------------------------------
 examples/go/example_test.go | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/acfe8a3b/examples/go/example_test.go
----------------------------------------------------------------------
diff --git a/examples/go/example_test.go b/examples/go/example_test.go
index c36a775..4ee1942 100644
--- a/examples/go/example_test.go
+++ b/examples/go/example_test.go
@@ -28,7 +28,6 @@ import (
 	"flag"
 	"fmt"
 	"io"
-	"log"
 	"math/rand"
 	"net"
 	"os"
@@ -262,9 +261,6 @@ var dir = flag.String("dir", "electron", "Directory containing example sources o
 var expected int
 
 func TestMain(m *testing.M) {
-	if out, err := exec.Command("go", "install", "qpid.apache.org/...").CombinedOutput(); err != nil {
-		log.Fatalf("go install failed: %s\n%s", err, out)
-	}
 	expected = (*count) * (*connections)
 	rand.Seed(time.Now().UTC().UnixNano())
 	testBroker = &broker{} // Broker is started on-demand by tests.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org