Skip to content

Commit

Permalink
Fix more appserver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 7, 2019
1 parent cb1f2a9 commit d4c6b50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/appserver/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// Proc is a wrapper for a skywire app. Encapsulates
// the running proccess itself and the RPC server for
// the running process itself and the RPC server for
// app/visor communication.
type Proc struct {
key appcommon.Key
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/proc_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func TestProcManager_Pop(t *testing.T) {

app, err := m.pop(appName)
require.Equal(t, err, errNoSuchApp)
require.Nil(t, app)

m.procs[appName] = nil

Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/rpc_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func TestRPCGateway_Dial(t *testing.T) {
require.NoError(t, err)
}
err := rpc.cm.Set(math.MaxUint16, nil)
require.NoError(t, err)

var resp DialResp
err = rpc.Dial(&dialAddr, &resp)
Expand Down

0 comments on commit d4c6b50

Please sign in to comment.