Skip to content

Commit

Permalink
Rename concurrent tests for create, delete and update (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
marco6 authored Sep 25, 2024
1 parent a224c18 commit 0520ad5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestCreate(t *testing.T) {
func BenchmarkCreate(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%d-workers/%s", workers, backendType), func(b *testing.B) {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)

Expand Down
2 changes: 1 addition & 1 deletion test/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestDelete(t *testing.T) {
func BenchmarkDelete(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%d-workers/%s", workers, backendType), func(b *testing.B) {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)

Expand Down
2 changes: 1 addition & 1 deletion test/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func TestUpdate(t *testing.T) {
func BenchmarkUpdate(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%d-workers/%s", workers, backendType), func(b *testing.B) {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)

Expand Down

0 comments on commit 0520ad5

Please sign in to comment.