- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 188 for getenv (0.17 seconds)
-
tests/helper_test.go
func tidbSkip(t *testing.T, reason string) { if isTiDB() { t.Skipf("This test case skipped, because of TiDB '%s'", reason) } } func isTiDB() bool { return os.Getenv("GORM_DIALECT") == "tidb" } func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func mysqlVersionAtLeast(major, minor int) bool { if !isMysql() { return false } var version string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts
reportOnly.convention(false) } // TODO:isolated:incremental the service won't track up-to-date projects (project configuration skipped) that still run tests if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") { val testFilesCleanupServiceProvider = project.gradle.sharedServices.registerIfAbsent("testFilesCleanupBuildService", TestFilesCleanupService::class.java) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 09:36:42 GMT 2026 - 3.1K bytes - Click Count (0) -
src/cmd/addr2line/addr2line_test.go
import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
cmd/sts-handlers_test.go
c.mustListObjects(ctx, lisaClient, "projectaorb") c.mustNotListObjects(ctx, lisaClient, "other") } func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) { openIDServer := os.Getenv(EnvTestOpenIDServer) openIDServer2 := os.Getenv(EnvTestOpenIDServer2) if openIDServer == "" || openIDServer2 == "" { t.Skip("Skipping OpenID test as enough OpenID servers are not provided.") } testApps := testClientApps
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
tests/connpool_test.go
c.got = append(c.got, query) return c.db.QueryRowContext(ctx, query, args...) } func TestConnPoolWrapper(t *testing.T) { dialect := os.Getenv("GORM_DIALECT") if dialect != "mysql" { t.SkipNow() } dbDSN := os.Getenv("GORM_DSN") if dbDSN == "" { dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local" } nativeDB, err := sql.Open("mysql", dbDSN)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.5K bytes - Click Count (0) -
internal/config/subnet/config.go
func (c *Config) ApplyEnv() { configLock.RLock() defer configLock.RUnlock() if c.License != "" { os.Setenv("CONSOLE_SUBNET_LICENSE", c.License) } if c.APIKey != "" { os.Setenv("CONSOLE_SUBNET_API_KEY", c.APIKey) } if c.Proxy != "" { os.Setenv("CONSOLE_SUBNET_PROXY", c.Proxy) } os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL) } // Update - in-place update with new license and registration information.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject else -> project.gradle.parent?.rootProject } if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) { val rootProjectName = rootProject.name val isInBuildLogic = rootProjectName == "build-logic" gradle.taskGraph.whenReady {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java
public static final String NAME = "Jenkins"; private static final String WORKSPACE = "WORKSPACE"; @Override public Optional<CIInfo> detectCI() { String workspace = System.getenv(WORKSPACE); if (workspace != null && !workspace.trim().isEmpty()) { return Optional.of(new CIInfo() { @Override public String name() { return NAME;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.5K bytes - Click Count (0)