Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

some test fixing#200

Merged
seba-aln merged 3 commits intomasterpubnub/python:masterfrom
fix/fix-flaky-testpubnub/python:fix/fix-flaky-testCopy head branch name to clipboard
Nov 19, 2024
Merged

some test fixing#200
seba-aln merged 3 commits intomasterpubnub/python:masterfrom
fix/fix-flaky-testpubnub/python:fix/fix-flaky-testCopy head branch name to clipboard

Conversation

@seba-aln
Copy link

@seba-aln seba-aln commented Nov 8, 2024

No description provided.

@seba-aln seba-aln marked this pull request as ready for review November 8, 2024 11:33
filter_query_parameters=['uuid', 'seqn', 'pnsdk', 'l_pub'])
@pytest.mark.asyncio
async def test_publish_mixed_via_post(event_loop):
pubnub = PubNubAsyncio(pnconf_copy(), custom_event_loop=event_loop)
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the difference between pnconf_copy and pnconf_env_copy?

Copy link
Author

Choose a reason for hiding this comment

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

pnconf_env* uses keyset from environmental variables instead of those hardcoded. I'm slowly cleaning up what was in the repo for a while now

timeout=aiohttp.ClientTimeout(connect=self.config.connect_timeout),
connector=self._connector
)
if not self._session:
Copy link
Contributor

@jguz-pubnub jguz-pubnub Nov 14, 2024

Choose a reason for hiding this comment

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

Does it mean you will create a new session from now on if it's not presented before? What's the reason behind it? I mean why you had to change it?

Copy link
Author

Choose a reason for hiding this comment

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

Some time ago I made this mistake of not having a single session connection, so this is the attempt to fix it

@jguz-pubnub jguz-pubnub self-requested a review November 19, 2024 11:42
@seba-aln seba-aln merged commit dc1a8e8 into master Nov 19, 2024
@seba-aln seba-aln deleted the fix/fix-flaky-test branch November 19, 2024 11:44
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.