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

chore(coherence): make sure the client gets the variable locally
This commit is contained in:
RW
2025-05-13 13:21:33 +02:00
committed by GitHub

View File

@@ -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()