mirror of https://github.com/statping/statping
added race condition testing
parent
bf9fd22f38
commit
4fe05e2f71
|
@ -250,7 +250,7 @@ jobs:
|
|||
- name: Go Tests
|
||||
run: |
|
||||
go get gotest.tools/gotestsum
|
||||
gotestsum --no-summary=skipped --format dots -- -covermode=count -coverprofile=coverage.out -p=1 ./...
|
||||
gotestsum --no-summary=skipped --format testname -- -covermode=count -coverprofile=coverage.out -race -p=1 ./...
|
||||
env:
|
||||
VERSION: ${{ env.VERSION }}
|
||||
COMMIT: ${{ github.sha }}
|
||||
|
|
|
@ -250,7 +250,7 @@ jobs:
|
|||
- name: Go Tests
|
||||
run: |
|
||||
go get gotest.tools/gotestsum
|
||||
gotestsum --no-summary=skipped --format dots -- -covermode=count -coverprofile=coverage.out -p=1 ./...
|
||||
gotestsum --no-summary=skipped --format testname -- -covermode=count -coverprofile=coverage.out -race -p=1 ./...
|
||||
env:
|
||||
VERSION: ${{ env.VERSION }}
|
||||
COMMIT: ${{ github.sha }}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# 0.90.70 (10-1-2020)
|
||||
- Merged PR #806 - Enhance GRPC Monitoring
|
||||
- Merged PR #692 - When login fields are autofilled the sign in button should be enabled
|
||||
- Modified multiple Vue forms to use number models for integer inputs
|
||||
|
||||
# 0.90.69 (09-18-2020)
|
||||
|
|
|
@ -35,7 +35,7 @@ var AmazonSNS = &amazonSNS{¬ifications.Notification{
|
|||
Description: "Use amazonSNS to receive push notifications. Add your amazonSNS URL and App Token to receive notifications.",
|
||||
Author: "Hunter Long",
|
||||
AuthorUrl: "https://github.com/hunterlong",
|
||||
Icon: "amazon",
|
||||
Icon: "fab fa-amazon",
|
||||
Delay: 5 * time.Second,
|
||||
Limits: 60,
|
||||
SuccessData: null.NewNullString(`{{.Service.Name}} is back online and was down for {{.Service.Downtime.Human}}`),
|
||||
|
|
|
@ -469,7 +469,7 @@ func TestServices(t *testing.T) {
|
|||
item, err := Find(1)
|
||||
require.Nil(t, err)
|
||||
amount := item.Downtime().Seconds()
|
||||
assert.GreaterOrEqual(t, int64(75), int64(amount))
|
||||
assert.GreaterOrEqual(t, int64(amount), int64(75))
|
||||
})
|
||||
|
||||
t.Run("Test Failures Since", func(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue