aboutsummaryrefslogtreecommitdiffstats
path: root/core/core_test.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-03-13 13:02:39 +0100
committerOndrej Fabry <ofabry@cisco.com>2018-03-13 13:02:39 +0100
commit4df448ad6cdfa2e60fa0167e5f70cc1127fbd3bf (patch)
tree3f203ea2d5395c814072c3507d151af03f758f3a /core/core_test.go
parent2406041faa197799c7715f815cbd391a5c0e9ad3 (diff)
Add API to set ControlPing msg and fail connect on unknown ID
Change-Id: Idd651a29d9fc3903f52d6fe8945add3052a28b52 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'core/core_test.go')
-rw-r--r--core/core_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/core_test.go b/core/core_test.go
index 682309d..e80f97c 100644
--- a/core/core_test.go
+++ b/core/core_test.go
@@ -207,9 +207,9 @@ func TestFullBuffer(t *testing.T) {
vppReply := <-ctx.ch.ReplyChan
Expect(vppReply).ShouldNot(BeNil())
- received := false
+ var received bool
select {
- case vppReply = <-ctx.ch.ReplyChan:
+ case <-ctx.ch.ReplyChan:
received = true // this should not happen
default:
received = false // no reply to be received