some test updates

This commit is contained in:
Rob Herley authored and GitHub committed 2023-12-01 00:31:27 +00:00
1 parent 4c5cc54661
commit c6e89b42bc
10 files changed
+237 -237

No files matched your search

+4 -1
View File
@@ -10,7 +10,10 @@ import {
import {getUserAgentString} from '../shared/user-agent'
import {getGitHubWorkspaceDir} from '../shared/config'
import {internalArtifactTwirpClient} from '../shared/artifact-twirp-client'
import {GetSignedArtifactURLRequest, ListArtifactsRequest} from 'src/generated'
import {
GetSignedArtifactURLRequest,
ListArtifactsRequest
} from '../../generated'
import {getBackendIdsFromToken} from '../shared/util'
const scrubQueryParameters = (url: string): string => {
+2 -2
View File
@@ -160,13 +160,13 @@ class ArtifactHttpClient implements Rpc {
export function internalArtifactTwirpClient(options?: {
maxAttempts?: number
baseRetryIntervalMilliseconds?: number
retryIntervalMs?: number
retryMultiplier?: number
}): ArtifactServiceClientJSON {
const client = new ArtifactHttpClient(
getUserAgentString(),
options?.maxAttempts,
options?.baseRetryIntervalMilliseconds,
options?.retryIntervalMs,
options?.retryMultiplier
)
return new ArtifactServiceClientJSON(client)