change default backend to RBF, remove separate RBF race target

This commit is contained in:
Matt Jaffee 2021-03-02 15:06:21 -06:00
parent 34e742d9c6
commit 52a0c90cd6
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF
3 changed files with 3 additions and 5 deletions

View file

@ -218,7 +218,7 @@ workflows:
- setup
matrix:
parameters:
test_make_target: ["test-race", "test-txstore-rbf", "test-txstore-rbf_bolt"]
test_make_target: ["test-race", "test-txstore-rbf_bolt"]
- test:
name: test-shardwidth-22
shard_width: "22"

View file

@ -23,7 +23,7 @@ const (
// DefaultBackend is set here. pilosa/server/config.go references it
// to set the default for pilosa server exeutable.
const DefaultBackend = RoaringBackend
const DefaultBackend = RBFBackend
// Config represents configuration which applies to multiple storage engines.
type Config struct {

View file

@ -61,9 +61,7 @@ func queryBalances(m0api *pilosa.API, acctOwnerID uint64, fldAcct0, fldAcct1, in
func skipForRoaring(t *testing.T) {
src := pilosa.CurrentBackend()
// once txfactory.go storage.DefaultBackend != RoaringTxn, this
// will break, of course. Take out the src == "" below.
if (src == "" && storage.DefaultBackend == pilosa.RoaringTxn) || strings.Contains(src, "roaring") {
if (storage.DefaultBackend == pilosa.RoaringTxn) || strings.Contains(src, "roaring") {
t.Skip("skip if roaring pseudo-txn involved -- won't show transactional rollback")
}
}