Skip to content

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
9 checks passed
@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