Skip to content

dgraphtest: add WithStartupArg for arbitrary Alpha flags#9741

Open
matthewmcneely wants to merge 1 commit into
mainfrom
oss-dgraphtest-withstartuparg
Open

dgraphtest: add WithStartupArg for arbitrary Alpha flags#9741
matthewmcneely wants to merge 1 commit into
mainfrom
oss-dgraphtest-withstartuparg

Conversation

@matthewmcneely

Copy link
Copy Markdown
Contributor

What

Adds ClusterConfig.WithStartupArg(arg, value) to the dgraphtest harness. It appends --arg=value to the Alpha startup command and can be called multiple times to accumulate flags.

Why

An escape hatch for passing Alpha flags that aren't (yet) modelled as first-class ClusterConfig options, without adding a bespoke WithX method for every flag.

Adds ClusterConfig.WithStartupArg(arg, value) to pass additional flags
to the Alpha startup command. Can be called multiple times to accumulate
flags. Intended as an escape hatch for flags not yet modelled as
first-class ClusterConfig options.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@matthewmcneely matthewmcneely requested a review from a team as a code owner June 11, 2026 18:52
@github-actions github-actions Bot added the go Pull requests that update Go code label Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Development

Successfully merging this pull request may close these issues.

1 participant