mirror of
https://github.com/coder/coder.git
synced 2025-07-30 22:19:53 +00:00
fix: use CRC32 to shorten app subdomain (#9645)
This commit is contained in:
@@ -1366,7 +1366,7 @@ func Run(t *testing.T, appHostIsPrimary bool, factory DeploymentFactory) {
|
||||
}, testutil.WaitLong, testutil.IntervalFast, "stats not reported")
|
||||
|
||||
assert.Equal(t, workspaceapps.AccessMethodPath, stats[0].AccessMethod)
|
||||
assert.Equal(t, "test-app-owner", stats[0].SlugOrPort)
|
||||
assert.Equal(t, proxyTestAppNameOwner, stats[0].SlugOrPort)
|
||||
assert.Equal(t, 1, stats[0].Requests)
|
||||
})
|
||||
}
|
||||
|
@@ -32,10 +32,10 @@ import (
|
||||
|
||||
const (
|
||||
proxyTestAgentName = "agent-name"
|
||||
proxyTestAppNameFake = "test-app-fake"
|
||||
proxyTestAppNameOwner = "test-app-owner"
|
||||
proxyTestAppNameAuthenticated = "test-app-authenticated"
|
||||
proxyTestAppNamePublic = "test-app-public"
|
||||
proxyTestAppNameFake = "taf"
|
||||
proxyTestAppNameOwner = "tao"
|
||||
proxyTestAppNameAuthenticated = "taa"
|
||||
proxyTestAppNamePublic = "tap"
|
||||
proxyTestAppQuery = "query=true"
|
||||
proxyTestAppBody = "hello world from apps test"
|
||||
|
||||
|
Reference in New Issue
Block a user