Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions config/presets/fastnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ func fastnet() config.Config {
conf.Sync.AtxSync.EpochInfoPeers = 10
conf.Sync.AtxSync.RequestsLimit = 100
conf.Sync.MalSync.IDRequestInterval = 20 * time.Second
conf.Sync.ReconcSync.Enable = true
conf.Sync.ReconcSync.EnableActiveSync = true
conf.Sync.ReconcSync.NewAtxSyncCfg.AdvanceInterval = 20 * time.Second
conf.Sync.ReconcSync.NewAtxSyncCfg.SyncInterval = 10 * time.Second
conf.Sync.ReconcSync.NewAtxSyncCfg.SyncPeerCount = 4
conf.Sync.ReconcSync.NewAtxSyncCfg.RetryInterval = 2 * time.Second
conf.Sync.ReconcSync.NewAtxSyncCfg.FullSyncednessPeriod = time.Minute
conf.Sync.ReconcSync.NewAtxSyncCfg.NoPeersRecheckInterval = 5 * time.Second
conf.Sync.ReconcSync.OldAtxSyncCfg.AdvanceInterval = time.Minute
conf.Sync.ReconcSync.OldAtxSyncCfg.SyncInterval = time.Minute
conf.Sync.ReconcSync.OldAtxSyncCfg.SyncPeerCount = 4
conf.Sync.ReconcSync.OldAtxSyncCfg.RetryInterval = 2 * time.Second
conf.Sync.ReconcSync.OldAtxSyncCfg.FullSyncednessPeriod = 15 * time.Minute
conf.Sync.ReconcSync.OldAtxSyncCfg.NoPeersRecheckInterval = 5 * time.Second

conf.LayersPerEpoch = 4
conf.RegossipAtxInterval = 30 * time.Second
conf.FETCH.RequestTimeout = 2 * time.Second
Expand Down Expand Up @@ -104,5 +119,7 @@ func fastnet() config.Config {
conf.POET.InfoCacheTTL = time.Minute
conf.POET.PowParamsCacheTTL = 10 * time.Second

conf.LOGGING.SyncLoggerLevel = "debug"

return conf
}
3 changes: 1 addition & 2 deletions systest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ ifeq ($(configname),$(test_job_name))
run_deps = config
endif

command := gotestsum --raw-command -- test2json -t -p systest \
/bin/tests -test.v -test.count=$(count) -test.timeout=60m -test.run=$(test_name) -test.parallel=$(clusters) \
command := /bin/tests -test.v -test.count=$(count) -test.timeout=60m -test.run=$(test_name) -test.parallel=$(clusters) \
-test.failfast=$(failfast) -clusters=$(clusters) -level=$(level) -configname=$(configname)

.PHONY: docker
Expand Down
Loading