- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 147 for Race (0.02 seconds)
-
buildscripts/race.sh
#!/usr/bin/env bash set -e export GORACE="history_size=7" export MINIO_API_REQUESTS_MAX=10000 for d in $(go list ./...); do CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 02 21:28:55 GMT 2024 - 184 bytes - Click Count (0) -
cmd/http-tracer_test.go
} } } // TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats. // This test specifically addresses the race between: // - Write operations via updateStats. // - Read operations via toServerHTTPStats(false). func TestRaulStatsRaceCondition(t *testing.T) { httpStats := newHTTPStats() // Simulate the concurrent scenario from the original race condition: // Multiple HTTP request handlers updating stats concurrently,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
Makefile
test-versioning: install-race @echo "Running minio versioning tests" @env bash $(PWD)/docs/bucket/versioning/versioning-tests.sh test-configfile: install-race @env bash $(PWD)/docs/distributed/distributed-from-config-file.sh test-upgrade: install-race @echo "Running minio upgrade tests" @(env bash $(PWD)/buildscripts/minio-upgrade.sh) test-race: verifiers build ## builds minio, runs linters, tests (race)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Apr 27 00:44:22 GMT 2025 - 11.2K bytes - Click Count (0) -
cmd/admin-handlers-users-race_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //go:build !race // +build !race // Tests in this file are not run under the `-race` flag as they are too slow // and cause context deadline errors. package cmd import ( "context" "fmt" "runtime" "testing" "time"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4K bytes - Click Count (0) -
tests/tests_all.sh
then GORM_DIALECT=${dialect} go test -race -count=1 ./... if [ -d tests ] then cd tests GORM_DIALECT=${dialect} go test -race -count=1 ./... cd .. fi else GORM_DIALECT=${dialect} go test -race -count=1 -v ./... if [ -d tests ] then cd tests GORM_DIALECT=${dialect} go test -race -count=1 -v ./... cd .. fi fiCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 1.6K bytes - Click Count (0) -
doc/go_mem.html
This property is sometimes referred to as DRF-SC: data-race-free programs execute in a sequentially consistent manner. </p> <p> While programmers should write Go programs without data races, there are limitations to what a Go implementation can do in response to a data race. An implementation may always react to a data race by reporting the race and terminating the program.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupPlugin.kt
/** * Plugin that pre-downloads Android SDK components to prevent race conditions during parallel builds. * * When multiple Android builds run in parallel and share the same `ANDROID_HOME`, the Android Gradle Plugin * may attempt to download and install SDK components (platforms, build-tools, platform-tools) simultaneously. * This can cause race conditions leading to: * - `FileAlreadyExistsException` when extracting files
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 27 08:49:21 GMT 2025 - 2.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
fun computeIfAbsentWhenDifferentKeyRaceLostDuringCompute() { val tags = EmptyTags val atomicTags = AtomicReference<Tags>(tags) val result = atomicTags.computeIfAbsent(String::class) { // 'Race' by making another computeIfAbsent call. In practice this would be another thread. assertThat(atomicTags.computeIfAbsent(Integer::class) { 5 as Integer }).isEqualTo(5) "a" }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/namespace-lock_test.go
expectedSource := "[namespace-lock_test.go:34:TestGetSource()]" if gotSource != expectedSource { t.Errorf("expected : %s, got : %s", expectedSource, gotSource) } } // Test lock race func TestNSLockRace(t *testing.T) { t.Skip("long test skip it") ctx := t.Context() for i := range 10000 { nsLk := newNSLock(false) // lk1; ref=1Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Security-focused test cases for SmbSessionImpl to verify race condition fixes. */ public class SmbSessionImplSecurityTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0)