Skip to content

Commit

Permalink
[#154] Update reproduce bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasObenaus committed Oct 12, 2021
1 parent 33ab173 commit e7e794e
Show file tree
Hide file tree
Showing 13 changed files with 277 additions and 287 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/thomasobenaus/sokar
go 1.13

require (
github.com/ThomasObenaus/go-base v0.0.8
github.com/ThomasObenaus/go-base v0.0.11
github.com/aws/aws-sdk-go v1.25.37
github.com/golang/mock v1.4.4
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.3.4 // indirect
github.com/hashicorp/nomad/api v0.0.0-20200519162023-99f117a28892
github.com/julienschmidt/httprouter v1.2.0
Expand Down
73 changes: 26 additions & 47 deletions go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func Test_CliAndConfig(t *testing.T) {
require.NoError(t, err)
assert.NotNil(t, cfg)
assert.Equal(t, nomadSrvAddr, cfg.Scaler.Nomad.ServerAddr)
assert.Len(t, cfg.CapacityPlanner.ScaleSchedule, 2)

args = []string{"./sokar-bin", "--co"}
cfg, err = cliAndConfig(args)
Expand Down
63 changes: 32 additions & 31 deletions test/mocks/aws/mock_autoscaling_IF.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions test/mocks/capacityplanner/mock_scaleschedule_IF.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e7e794e

Please sign in to comment.