Fix: typos. (#526)

* Fix: typo.

Signed-off-by: dblock <[email protected]>

* Fix: typo.

Signed-off-by: dblock <[email protected]>

* Fixed its.

Signed-off-by: dblock <[email protected]>

* Added Visual Code settings to .gitignore.

Signed-off-by: dblock <[email protected]>

* Added loop type for async client.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
This commit is contained in:
Daniel (dB.) Doubrovkine
2023-10-09 10:45:18 -07:00
committed by GitHub
parent 49c2f6e87d
commit 2bfc409177
13 changed files with 36 additions and 32 deletions
@@ -947,7 +947,7 @@ DATA = [
],
"committer": {"name": "Honza Kr\xe1l", "email": "[email protected]"},
"stats": {"deletions": 0, "insertions": 53, "lines": 53, "files": 2},
"description": "From_dict, Q(dict) and bool query parses it's subqueries",
"description": "From_dict, Q(dict) and bool query parses its subqueries",
"author": {"name": "Honza Kr\xe1l", "email": "[email protected]"},
"parent_shas": ["d407f99d1959b7b862a541c066d9fd737ce913f3"],
"committed_date": "2014-03-06T20:24:30",
@@ -127,7 +127,7 @@ class TestAlertingPlugin(AsyncOpenSearchTestCase):
# Create a dummy monitor
await self.test_create_monitor()
# Create a monitor search query by it's name
# Create a monitor search query by its name
query = {"query": {"match": {"monitor.name": "test-monitor"}}}
# Perform the search with the above query
@@ -145,7 +145,7 @@ class TestAlertingPlugin(AsyncOpenSearchTestCase):
# Create a dummy monitor
await self.test_create_monitor()
# Create a monitor search query by it's name
# Create a monitor search query by its name
query = {"query": {"match": {"monitor.name": "test-monitor"}}}
# Perform the search with the above query
@@ -169,7 +169,7 @@ class TestAlertingPlugin(AsyncOpenSearchTestCase):
# Create a dummy monitor
await self.test_create_monitor()
# Create a monitor search query by it's name
# Create a monitor search query by its name
query = {"query": {"match": {"monitor.name": "test-monitor"}}}
# Perform the search with the above query
@@ -26,7 +26,7 @@
"""
Dynamically generated set of TestCases based on set of yaml files decribing
Dynamically generated set of TestCases based on set of yaml files describing
some integration tests. These files are shared among all official OpenSearch
clients.
"""
@@ -106,7 +106,7 @@ class AsyncYamlRunner(YamlRunner):
pass
async def run_code(self, test):
"""Execute an instruction based on it's type."""
"""Execute an instruction based on its type."""
for action in test:
assert len(action) == 1
action_type, action = list(action.items())[0]
@@ -126,7 +126,7 @@ class AsyncYamlRunner(YamlRunner):
assert len(action) == 1
# Remove the x_pack_rest_user authentication
# if it's given via headers. We're already authenticated
# if its given via headers. We're already authenticated
# via the 'elastic' user.
if (
headers