Skip to content

Commit

Permalink
Setting up CI configuration;
Browse files Browse the repository at this point in the history
Add fuzz test
  • Loading branch information
ludete committed Apr 9, 2020
1 parent 1713b8f commit b9ae332
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
build:
docker:
- image: cimg/go:1.13
resource_class: xlarge
steps:
- add_ssh_keys:
fingerprints:
Expand Down
2 changes: 1 addition & 1 deletion modules/market/matchfuzz/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,5 +270,5 @@ func runTest(seed int64, priceRange int64, amountRange int64, delStep int32, liv

func main() {
// seed, priceRange, amountRange, delStep, liveOrderUpper, liveOrderLower, heightLimit
runTest(0, 100, 1000, 3, 8000, 6000, 1000)
runTest(0, 100, 1000, 3, 8000, 6000, 50)
}
1 change: 1 addition & 0 deletions scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ test -z "$(golangci-lint run -j 4 --disable-all \

time go test -covermode=atomic -coverprofile=coverage.out -race -tags rpctest $linter_targets

time go run modules/market/matchfuzz/main.go


0 comments on commit b9ae332

Please sign in to comment.