Skip to content

Commit

Permalink
Merge branch 'main' into change-btn
Browse files Browse the repository at this point in the history
  • Loading branch information
ohltyler authored Nov 4, 2024
2 parents 60a11f5 + 8411d69 commit e1cfd0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('Aliases', () => {
body: { test: 'test' },
});

// confirm uncommitted_operations is 1 after indexing doc
// confirm uncommitted_operations is not 0 after indexing doc
cy.request({
method: 'GET',
url: `${Cypress.env('openSearchUrl')}/${sample_alias}/_stats/translog`,
Expand All @@ -167,7 +167,7 @@ describe('Aliases', () => {
);
let num =
response_obj['_all']['total']['translog']['uncommitted_operations'];
expect(num).to.equal(1);
expect(num).not.equal(0);
});

cy.get('[data-test-subj="moreAction"] button')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('Data stream', () => {
body: { '@timestamp': 123123123 },
});

// confirm uncommitted_operations is 1 after indexing doc
// confirm uncommitted_operations is not 0 after indexing doc
cy.request({
method: 'GET',
url: `${Cypress.env('openSearchUrl')}/ds-/_stats/translog`,
Expand All @@ -110,7 +110,7 @@ describe('Data stream', () => {
);
let num =
response_obj['_all']['total']['translog']['uncommitted_operations'];
expect(num).to.equal(1);
expect(num).not.equal(0);
});

cy.get('[data-test-subj="moreAction"]').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ describe('Indices', () => {
body: { test: 'test' },
});

// confirm uncommitted_operations is 1 after indexing doc
// confirm uncommitted_operations is not 0 after indexing doc
cy.request({
method: 'GET',
url: `${Cypress.env('openSearchUrl')}/${SAMPLE_INDEX}/_stats/translog`,
Expand All @@ -628,7 +628,7 @@ describe('Indices', () => {
);
let num =
response_obj['_all']['total']['translog']['uncommitted_operations'];
expect(num).to.equal(1);
expect(num).not.equal(0);
});

// Select an index
Expand Down Expand Up @@ -678,7 +678,7 @@ describe('Indices', () => {
body: { test: 'test' },
});

// confirm uncommitted_operations is 1 after indexing doc
// confirm uncommitted_operations is not 0 after indexing doc
cy.request({
method: 'GET',
url: `${Cypress.env('openSearchUrl')}/${SAMPLE_INDEX}/_stats/translog`,
Expand All @@ -688,7 +688,7 @@ describe('Indices', () => {
);
let num =
response_obj['_all']['total']['translog']['uncommitted_operations'];
expect(num).to.equal(1);
expect(num).not.equal(0);
});

cy.get('[data-test-subj="moreAction"]').click();
Expand Down

0 comments on commit e1cfd0c

Please sign in to comment.