Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few more URLParameters tests #994

Merged
merged 1 commit into from
Mar 13, 2018
Merged

Add a few more URLParameters tests #994

merged 1 commit into from
Mar 13, 2018

Conversation

lukebakken
Copy link
Member

I tried to reproduce what was reported in #993, but couldn't, but added a few more tests.

self.assertEqual(parameters.virtual_host,
pika.URLParameters.DEFAULT_VIRTUAL_HOST)

def test_uses_default_virtual_host_via_encoded_slash_2(self):
Copy link
Member

Choose a reason for hiding this comment

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

I think it may be better to use more descriptive test names instead of suffixing with 1,2,3,4. It seems like the variability is upper case vs lower case encoding and terminating slash versus no terminating slash.

@vitaly-krugl
Copy link
Member

I tried to reproduce what was reported in #993, but couldn't

@daryasary, could you please provide a simple example that reproduces the issue that you tried to fix with #993?

@vitaly-krugl
Copy link
Member

@lukebakken, could you please take a look at the software installation failures that caused a number of the build jobs to fail? This may be related to the changes in PR #984. Perhaps software installations could use some hardening or a faster source repository.

@lukebakken
Copy link
Member Author

It looks like Erlang Solutions' package repository is slow.

vitaly-krugl
vitaly-krugl previously approved these changes Mar 13, 2018
Copy link
Member

@vitaly-krugl vitaly-krugl left a comment

Choose a reason for hiding this comment

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

The test method names are good. Okay to merge once all builds pass. Please note that a number of builds failed sporadically while downloading erlang - see my comment regarding this.

@vitaly-krugl
Copy link
Member

It looks like Erlang Solutions' package repository is slow

Is there a cache site that might be faster, more reliable?

@lukebakken
Copy link
Member Author

I'll try using the default Erlang package.

@lukebakken
Copy link
Member Author

The default Erlang package for Ubuntu Trusty is too old to use (R16B03) with the latest RabbitMQ.

rename tests

Upgrade to RMQ 3.7.4, do not use ESL package
Copy link
Member

@vitaly-krugl vitaly-krugl left a comment

Choose a reason for hiding this comment

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

Thanks! Okay to merge once all builds/tests pass. AppVeyor hasn't finished running yet.

Copy link
Member

@vitaly-krugl vitaly-krugl left a comment

Choose a reason for hiding this comment

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

Forgot to click on Approve. In any case, still need to wait for AppVeyor to pass.

@lukebakken lukebakken merged commit 16cca34 into pika:master Mar 13, 2018
@lukebakken lukebakken deleted the pika-993 branch March 13, 2018 21:17
lukebakken added a commit that referenced this pull request Apr 13, 2018
Add a few more URLParameters tests

(cherry picked from commit 16cca34)
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.

None yet

2 participants