Skip to content

Migrate advanced_visibility_test.go#10447

Open
stephanos wants to merge 3 commits into
mainfrom
stephanos/migrate-advanced_visibility_test
Open

Migrate advanced_visibility_test.go#10447
stephanos wants to merge 3 commits into
mainfrom
stephanos/migrate-advanced_visibility_test

Conversation

@stephanos

Copy link
Copy Markdown
Contributor

WISOTT

@stephanos stephanos force-pushed the stephanos/migrate-advanced_visibility_test branch 3 times, most recently from 2bc5e07 to 2d95a63 Compare June 8, 2026 19:13
var err error
s.Require().NoError(err)

s.sysSDKClient, err = sdkclient.Dial(sdkclient.Options{

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inlined below

@stephanos stephanos force-pushed the stephanos/migrate-advanced_visibility_test branch 2 times, most recently from 6632314 to 7bb3d5a Compare June 11, 2026 20:13
s.Equal([]string{}, buildIDs)

// We should have 3 runs with the v1.1 search attribute: First and second run in chain, and single child
s.Eventually(func() bool {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots are already converted; converting the stragglers too

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@stephanos stephanos force-pushed the stephanos/migrate-advanced_visibility_test branch from 7bb3d5a to e29f9a7 Compare June 11, 2026 20:31
@stephanos stephanos marked this pull request as ready for review June 12, 2026 18:05
@stephanos stephanos requested review from a team as code owners June 12, 2026 18:05
@stephanos stephanos force-pushed the stephanos/migrate-advanced_visibility_test branch from c80a2c4 to e29f9a7 Compare June 15, 2026 16:14
@stephanos stephanos requested a review from long-nt-tran June 15, 2026 17:48
Comment thread tests/advanced_visibility_test.go Outdated
esClient, err := esclient.NewFunctionalTestsClient(esConfig, s.Logger)
s.Require().NoError(err)
esClient, err := esclient.NewFunctionalTestsClient(esConfig, env.Logger)
s.NoError(err)

acknowledged, err := esClient.IndexPutSettings(
context.Background(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
context.Background(),
s.Context(),

Comment thread tests/advanced_visibility_test.go Outdated
await.Requiref(s.Context(), s.T(),
func(t *await.T) {
s.Awaitf(
func(s *AdvancedVisibilitySuite) {
settings, err := esClient.IndexGetSettings(context.Background(), esConfig.GetVisibilityIndex())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
settings, err := esClient.IndexGetSettings(context.Background(), esConfig.GetVisibilityIndex())
settings, err := esClient.IndexGetSettings(s.Context(), esConfig.GetVisibilityIndex())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants