Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Stop Task Failure in client_func_test.go #566

Closed
1 of 2 tasks
tiffanyfay opened this issue Dec 2, 2015 · 1 comment
Closed
1 of 2 tasks

Stop Task Failure in client_func_test.go #566

tiffanyfay opened this issue Dec 2, 2015 · 1 comment

Comments

@tiffanyfay
Copy link
Contributor

* /home/travis/gopath/src/github.com/intelsdi- x/snap/mgmt/rest/client/client_func_test.go
Line 351: - runtime error: invalid memory address or nil pointer dereference goroutine 11 [running]: github.com/intelsdi-x/snap/mgmt/rest/client.TestSnapClient.func6.3.4()
/home/travis/gopath/src/github.com/intelsdi- x/snap/mgmt/rest/client/client_func_test.go:351 +0x237

351: So(t2.Err.Error(), ShouldEqual, "error 0: Task is already stopped. ")

Now moved to line 353 after step 1 was changed

 * /home/travis/gopath/src/github.com/intelsdi-x/snap/mgmt/rest/client/client_func_test.go 
  Line 353:
  Expected '<nil>' to NOT be nil (but it was)!

Things to fix:

  • Add tests if there even is an error e.g So(t2.Err, ShouldNotBeNil)
  • What is causing the timing issue
@lynxbat lynxbat added the tracked label Dec 2, 2015
tiffanyfay added a commit that referenced this issue Dec 2, 2015
Adds checks to client_func_test for #566
@IRCody
Copy link
Contributor

IRCody commented Aug 18, 2016

Closing due to age of the bug and lack of context to move forward with a fix.

@IRCody IRCody closed this as completed Aug 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants