Skip to content

Commit

Permalink
Skip server tests in Go <1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Dec 5, 2017
1 parent ded793d commit c6be61c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/bifrost/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Skip this file in Go <1.8 because it's using http.Server.Shutdown
// +build go1.8

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions services/bifrost/server/bitcoin_rail_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Skip this test file in Go <1.8 because it's using http.Server.Shutdown
// +build go1.8

package server

import (
Expand Down
3 changes: 3 additions & 0 deletions services/bifrost/server/ethereum_rail_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Skip this test file in Go <1.8 because it's using http.Server.Shutdown
// +build go1.8

package server

import (
Expand Down
3 changes: 3 additions & 0 deletions services/bifrost/server/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Skip this file in Go <1.8 because it's using http.Server.Shutdown
// +build go1.8

package server

import (
Expand Down

0 comments on commit c6be61c

Please sign in to comment.