mirror of
https://github.com/gofiber/storage.git
synced 2025-12-18 16:28:22 +08:00
Merge pull request #1735 from mdelapenya/fix-coherence-benchmarks
Some checks failed
Benchmark / changes (push) Has been cancelled
Golangci-Lint Check / changes (push) Has been cancelled
Release Drafter (All) / changes (push) Has been cancelled
Tests Coherence / Tests (1.23.x) (push) Has been cancelled
Tests Coherence / Tests (1.24.x) (push) Has been cancelled
Benchmark / compare (push) Has been cancelled
Golangci-Lint Check / lint (push) Has been cancelled
Release Drafter (All) / release-drafter (push) Has been cancelled
Some checks failed
Benchmark / changes (push) Has been cancelled
Golangci-Lint Check / changes (push) Has been cancelled
Release Drafter (All) / changes (push) Has been cancelled
Tests Coherence / Tests (1.23.x) (push) Has been cancelled
Tests Coherence / Tests (1.24.x) (push) Has been cancelled
Benchmark / compare (push) Has been cancelled
Golangci-Lint Check / lint (push) Has been cancelled
Release Drafter (All) / release-drafter (push) Has been cancelled
chore(coherence): make sure the client gets the variable locally
This commit is contained in:
@@ -278,6 +278,8 @@ func Test_Coherence_With_Scope(t *testing.T) {
|
||||
}
|
||||
|
||||
func Benchmark_Coherence_Set(b *testing.B) {
|
||||
b.Setenv("COHERENCE_LOG_LEVEL", "ERROR")
|
||||
|
||||
testStore := newTestStore(b)
|
||||
defer testStore.Close()
|
||||
|
||||
@@ -293,6 +295,8 @@ func Benchmark_Coherence_Set(b *testing.B) {
|
||||
}
|
||||
|
||||
func Benchmark_Coherence_Get(b *testing.B) {
|
||||
b.Setenv("COHERENCE_LOG_LEVEL", "ERROR")
|
||||
|
||||
testStore := newTestStore(b)
|
||||
defer testStore.Close()
|
||||
|
||||
@@ -310,6 +314,8 @@ func Benchmark_Coherence_Get(b *testing.B) {
|
||||
}
|
||||
|
||||
func Benchmark_Coherence_SetAndDelete(b *testing.B) {
|
||||
b.Setenv("COHERENCE_LOG_LEVEL", "ERROR")
|
||||
|
||||
testStore := newTestStore(b)
|
||||
defer testStore.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user