mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 12:27:52 +00:00
skip roaring add test in race
Otherwise it overloads the race detector.
This commit is contained in:
parent
5d2c42b7bf
commit
f9c196e418
1 changed files with 18 additions and 2 deletions
|
|
@ -1,3 +1,19 @@
|
|||
// Copyright 2020 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build !race
|
||||
|
||||
package roaring
|
||||
|
||||
import (
|
||||
|
|
@ -353,7 +369,7 @@ func TestAdd(t *testing.T) {
|
|||
for len(x) <= i {
|
||||
x = append(x, NewBitmap())
|
||||
}
|
||||
x[i].Add(k)
|
||||
x[i].DirectAdd(k)
|
||||
}
|
||||
}
|
||||
for k, v := range yvals {
|
||||
|
|
@ -368,7 +384,7 @@ func TestAdd(t *testing.T) {
|
|||
for len(y) <= i {
|
||||
y = append(y, NewBitmap())
|
||||
}
|
||||
y[i].Add(k)
|
||||
y[i].DirectAdd(k)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue