Skip to content

Add extension ip.test.ext to Au Test, with Test method to allocate extra TCP ports. - #6291

Merged
randall merged 1 commit into
apache:masterfrom
ywkaras:add_h2_chunked_encoding_test
Apr 3, 2020
Merged

randall merged 1 commit into
apache:masterfrom
ywkaras:add_h2_chunked_encoding_test

Conversation

@ywkaras

@ywkaras ywkaras commented Dec 24, 2019

Copy link
Copy Markdown

And change the chunked_encoding_h2 Au test to use this capability.

This PR is dependent on #6268

@ywkaras
ywkaras force-pushed the add_h2_chunked_encoding_test branch from 6b8ddc0 to 93f4593 Compare December 24, 2019 01:10
@ywkaras ywkaras closed this Dec 24, 2019
@ywkaras ywkaras reopened this Dec 24, 2019
@ywkaras

ywkaras commented Jan 8, 2020

Copy link
Copy Markdown
Author

@dragon512 would be good if you could review this.

@ywkaras
ywkaras force-pushed the add_h2_chunked_encoding_test branch from 93f4593 to e7efe72 Compare January 15, 2020 18:43
@ywkaras
ywkaras marked this pull request as ready for review January 15, 2020 18:43
@ywkaras
ywkaras requested review from dragon512 and shinrich January 15, 2020 18:44
@randall randall added this to the 10.0.0 milestone Jan 16, 2020
@randall randall added the Tests label Jan 16, 2020
@ywkaras
ywkaras force-pushed the add_h2_chunked_encoding_test branch 2 times, most recently from b48ba5e to 5f6ec7d Compare February 14, 2020 23:13
@ywkaras ywkaras changed the title In TS extension to Au Test, change MakeATSProcess() to be able to allocate extra TCP ports. Add extension ip.test.ext to Au Test, with Test method to allocate extra TCP ports. Feb 14, 2020
raise TypeError("all function arguments must be strings")
get_port(obj, v)

ExtendTest(get_tcp_port, name="get_tcp_port")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change this to:

AddTestEntityMember(get_tcp_port,name='GetTcpPort')

This follows the Camel case naming form all the API public functions have and it will allow you to call this function on a Test, TestRun and Process object

…tra TCP ports.

And change the chunked_encoding_h2 Au test to use this capability.
@ywkaras
ywkaras force-pushed the add_h2_chunked_encoding_test branch from 5f6ec7d to 890a97c Compare February 27, 2020 01:26
@randall

randall commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

[approve ci autest]

@randall
randall merged commit f8a8b2f into apache:master Apr 3, 2020
@shinrich

Copy link
Copy Markdown
Member

Needed in 9.0.x for the chunked_encoding test that got updated.

@bryancall bryancall modified the milestones: 10.0.0, 9.0.0 Jun 15, 2020
@bryancall

Copy link
Copy Markdown
Contributor

Cherry picked into the 9.0.x branch for the 9.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants