hustcat / sriov-cni

SR-IOV CNI plugin
Apache License 2.0
231 stars 49 forks source link

Test failure in sriov_test.go #4

Open rkamudhan opened 7 years ago

rkamudhan commented 7 years ago

Getting failure in running the testutils.CmdDelWithResult

sriov Operations                                                                                                                                                                              
/root/gopath/src/github.com/hustcat/sriov-cni/sriov/sriov_test.go:198                                                                                                                         
  configures and deconfigures a sriov link with ADD/DEL [It]                                                                                                                                  
  /root/gopath/src/github.com/hustcat/sriov-cni/sriov/sriov_test.go:197                                                                                                                       

  Expected error:
      <*json.SyntaxError | 0xc820176220>: {                                                                                                                                                   
          msg: "invalid character 'A' looking for beginning of value",                                                                                                                        
          Offset: 1,                                                                                                                                                                          
      }                                                                                                                                                                                       
      invalid character 'A' looking for beginning of value                                                                                                                                    
  not to have occurred                                                                                                                                                                        

  /root/gopath/src/github.com/hustcat/sriov-cni/sriov/sriov_test.go:160
------------------------------                                         

Summarizing 1 Failure:

[Fail] sriov Operations [It] configures and deconfigures a sriov link with ADD/DEL 
/root/gopath/src/github.com/hustcat/sriov-cni/sriov/sriov_test.go:160              

Ran 1 of 1 Specs in 0.178 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped ---
rkamudhan commented 7 years ago

@hustcat is that there is bug in the test file ?

hustcat commented 7 years ago

@rkamudhan I add some code for run test case easy.Could you run ./test script to test again?

rkamudhan commented 7 years ago

@hustcat thanks I will test them today