Skip to content

Commit

Permalink
changed waiting time before sending by Sender and AsyncSender
Browse files Browse the repository at this point in the history
  • Loading branch information
aiantsen committed Dec 11, 2024
1 parent accb523 commit b203f70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/compatibility_api_test_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ def prepare_items(self):
value_type=3
)['itemids'][0]

time.sleep(2)

self.assertIsNotNone(hostid, "Creating test item was going wrong")

zapi.logout()

def test_send_values(self):
"""Tests sending item values"""

time.sleep(10)

items = [
ItemValue(self.hostname, self.itemkey, 10),
ItemValue(self.hostname, self.itemkey, 'test message'),
Expand Down Expand Up @@ -337,7 +337,7 @@ async def prepare_items(self):
async def test_send_values(self):
"""Tests sending item values"""

time.sleep(2)
time.sleep(10)

items = [
ItemValue(self.hostname, self.itemkey, 10),
Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/compatibility_api_test_6.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ def prepare_items(self):
value_type=3
)['itemids'][0]

time.sleep(2)

self.assertIsNotNone(hostid, "Creating test item was going wrong")

zapi.logout()

def test_send_values(self):
"""Tests sending item values"""

time.sleep(10)

items = [
ItemValue(self.hostname, self.itemkey, 10),
ItemValue(self.hostname, self.itemkey, 'test message'),
Expand Down Expand Up @@ -403,7 +403,7 @@ async def prepare_items(self):
async def test_send_values(self):
"""Tests sending item values"""

time.sleep(2)
time.sleep(10)

items = [
ItemValue(self.hostname, self.itemkey, 10),
Expand Down

0 comments on commit b203f70

Please sign in to comment.