Skip to content

Commit

Permalink
Reduced number of iterations on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed May 30, 2015
1 parent 4f760cd commit e24f3c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var _ = Describe("Index operations test", func() {
var key *Key
var wpolicy = NewWritePolicy(0, 0)

const keyCount = 10000
const keyCount = 1000
bin1 := NewBin("Aerospike1", rand.Intn(math.MaxInt16))
bin2 := NewBin("Aerospike2", randString(100))

Expand Down
2 changes: 1 addition & 1 deletion query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _ = Describe("Query operations", func() {
var wpolicy = NewWritePolicy(0, 0)
wpolicy.SendKey = true

const keyCount = 10000
const keyCount = 1000
bin1 := NewBin("Aerospike1", rand.Intn(math.MaxInt16))
bin2 := NewBin("Aerospike2", randString(100))
bin3 := NewBin("Aerospike3", rand.Intn(math.MaxInt16))
Expand Down
2 changes: 1 addition & 1 deletion random_operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var _ = Describe("Aerospike", func() {
}
} // for i < iters

} // for i < 10000
} // for i < iters
})

}) // context parallel put/get/delete operations
Expand Down
2 changes: 1 addition & 1 deletion scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var _ = Describe("Scan operations", func() {
var wpolicy = NewWritePolicy(0, 0)
wpolicy.SendKey = true

const keyCount = 10000
const keyCount = 1000
bin1 := NewBin("Aerospike1", rand.Intn(math.MaxInt16))
bin2 := NewBin("Aerospike2", randString(100))
var keys map[string]*Key
Expand Down

0 comments on commit e24f3c5

Please sign in to comment.