-
Notifications
You must be signed in to change notification settings - Fork 70
Split protocol testing into separate ITs for zilla dump command #989
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
Merged
Merged
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
3311795
WIP
attilakreiner 9459823
rm old tests
attilakreiner 96efda9
WIP
attilakreiner 596b66e
fix ephemeral
attilakreiner 77dacb9
Revert "fix ephemeral"
attilakreiner ad27f69
fix ephemeral in rpt's
attilakreiner 75c0895
Add command-dump.spec
attilakreiner 975cd4d
WIP timestamps
attilakreiner 2c805b9
tmp rm zilla:timestamps
attilakreiner 5e95550
tmp hardcode timestamp to 0
attilakreiner 4de338a
Revert "tmp rm zilla:timestamps"
attilakreiner ef63644
Revert "tmp hardcode timestamp to 0"
attilakreiner 60a2583
Merge branch 'develop' into dump-test
attilakreiner 9f82137
application server accept timestamps
attilakreiner a2762ea
fix 1
attilakreiner 4d74176
fix packages
attilakreiner 625e178
fix packages 2
attilakreiner a3f50f7
fix pom
attilakreiner b5b283a
Add sse test
attilakreiner a7a93fe
Add ws test
attilakreiner 41b461e
Add filesystem test
attilakreiner 22cf0ad
fix filesystem test
attilakreiner 907ab79
Add proxy test
attilakreiner 6cceda1
Add mqtt publish test
attilakreiner d4938bf
Add mqtt subscribe test
attilakreiner c27147f
Add kafka describe test
attilakreiner 1fefd93
Add kafka fetch test
attilakreiner a628633
Add kafka group test
attilakreiner b2070be
Add kafka initproducerid test
attilakreiner d47b40b
Add kafka merged test
attilakreiner a33ab8b
Add kafka meta test
attilakreiner cc7285b
Add kafka offsetcommit test
attilakreiner c7e8a37
Add kafka offsetfetch test
attilakreiner 4430391
Add kafka produce test
attilakreiner 162b7ec
Add amqp test
attilakreiner a06676e
Add tls test
attilakreiner 928450d
fix after pom update
attilakreiner 36f3a3e
WIP
attilakreiner 5cb1ac0
WIP 2
attilakreiner 55d8fd0
WIP 3
attilakreiner 570d3ac
WIP mqtt
attilakreiner 826f251
WIP http2
attilakreiner 7b920bf
fix
attilakreiner 6b378e3
tmp fix LabelManager
attilakreiner 82ab796
cleanup
attilakreiner a2b3092
WIP grpc
attilakreiner 4acab88
WIP proxy
attilakreiner 6cfb14b
WIP kafka
attilakreiner 59825e6
fix
attilakreiner 43b30e3
WIP tls
attilakreiner 4618b68
WIP sse
attilakreiner 61f48b3
WIP ws
attilakreiner 62fc037
WIP amqp
attilakreiner 6a34466
cleanup 1
attilakreiner dc94b76
cleanup 2
attilakreiner eb3be2d
cleanup 3
attilakreiner 8e5a4fd
cleanup 4
attilakreiner 6a35aab
WIP filesystem
attilakreiner 2d8163e
cleanup 5
attilakreiner d7852ad
cleanup 6
attilakreiner 33896d8
fix LabelManager
attilakreiner a1559fc
ignore tls net
attilakreiner 70fdb4b
fix snapshot
attilakreiner 5770ba9
revert snapshot
attilakreiner 29667dc
fix ZillaEngine
attilakreiner 92c376e
Add writeClosed
attilakreiner 9cec9dd
Add CustomFramesIT
attilakreiner d0a5320
WIP TlsNetworkIT
attilakreiner bdd1f85
fix
attilakreiner bb7d1b5
Merge branch 'develop' into dump-test
attilakreiner 87c661b
fix LabelManager lastModifiedTime
attilakreiner 55ac904
fix
attilakreiner 843e56f
fix chkstyle
attilakreiner 17fbccd
WIP close streams in the scripts; omit writeClosed
attilakreiner 927ad40
revert writeClosed
attilakreiner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/client.rpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # | ||
| # Copyright 2021-2023 Aklivity Inc | ||
| # | ||
| # Licensed under the Aklivity Community License (the "License"); you may not use | ||
| # this file except in compliance with the License. You may obtain a copy of the | ||
| # License at | ||
| # | ||
| # https://www.aklivity.io/aklivity-community-license/ | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations under the License. | ||
| # | ||
|
|
||
| connect "zilla://streams/app0" | ||
| option zilla:ephemeral "test" | ||
| option zilla:timestamps "false" | ||
| option zilla:window 8192 | ||
| option zilla:transmission "duplex" | ||
|
|
||
| write zilla:begin.ext ${amqp:beginEx() | ||
| .typeId(zilla:id("amqp")) | ||
| .address("clients") | ||
| .capabilities("RECEIVE_ONLY") | ||
| .senderSettleMode("SETTLED") | ||
| .receiverSettleMode("FIRST") | ||
| .build()} | ||
|
|
||
| read zilla:begin.ext ${amqp:beginEx() | ||
| .typeId(zilla:id("amqp")) | ||
| .address("clients") | ||
| .capabilities("RECEIVE_ONLY") | ||
| .senderSettleMode("SETTLED") | ||
| .receiverSettleMode("FIRST") | ||
| .build()} | ||
| connected | ||
|
|
||
| write close | ||
| read closed |
41 changes: 41 additions & 0 deletions
41
...runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/server.rpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # | ||
| # Copyright 2021-2023 Aklivity Inc | ||
| # | ||
| # Licensed under the Aklivity Community License (the "License"); you may not use | ||
| # this file except in compliance with the License. You may obtain a copy of the | ||
| # License at | ||
| # | ||
| # https://www.aklivity.io/aklivity-community-license/ | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations under the License. | ||
| # | ||
|
|
||
| accept "zilla://streams/app0" | ||
| option zilla:timestamps "false" | ||
| option zilla:window 8192 | ||
| option zilla:transmission "duplex" | ||
|
|
||
| accepted | ||
|
|
||
| read zilla:begin.ext ${amqp:beginEx() | ||
| .typeId(zilla:id("amqp")) | ||
| .address("clients") | ||
| .capabilities("RECEIVE_ONLY") | ||
| .senderSettleMode("SETTLED") | ||
| .receiverSettleMode("FIRST") | ||
| .build()} | ||
|
|
||
| write zilla:begin.ext ${amqp:beginEx() | ||
| .typeId(zilla:id("amqp")) | ||
| .address("clients") | ||
| .capabilities("RECEIVE_ONLY") | ||
| .senderSettleMode("SETTLED") | ||
| .receiverSettleMode("FIRST") | ||
| .build()} | ||
| connected | ||
|
|
||
| read closed | ||
| write close |
116 changes: 116 additions & 0 deletions
116
...runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/client.rpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| # | ||
| # Copyright 2021-2023 Aklivity Inc | ||
| # | ||
| # Licensed under the Aklivity Community License (the "License"); you may not use | ||
| # this file except in compliance with the License. You may obtain a copy of the | ||
| # License at | ||
| # | ||
| # https://www.aklivity.io/aklivity-community-license/ | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations under the License. | ||
| # | ||
|
|
||
| connect "zilla://streams/net0" | ||
| option zilla:ephemeral "test" | ||
| option zilla:timestamps "false" | ||
| option zilla:window 8192 | ||
| option zilla:transmission "duplex" | ||
|
|
||
| connected | ||
|
|
||
| # header exchange | ||
| write "AMQP" [0x00 0x01 0x00 0x00] | ||
| read "AMQP" [0x00 0x01 0x00 0x00] | ||
|
|
||
| # open frame exchange | ||
| write [0x00 0x00 0x00 0x16] # size = 22 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x10] # performative = open (16) | ||
| [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 | ||
| [0xa1 0x06] "client" # container-id = "client" | ||
|
|
||
| read [0x00 0x00 0x00 0x16] # size = 22 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x10] # performative = open (16) | ||
| [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 | ||
| [0xa1 0x06] "server" # container-id = "server" | ||
|
|
||
| # begin frame exchange | ||
| write [0x00 0x00 0x00 0x1b] # size = 27 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x11] # performative = begin (17) | ||
| [0xc0 0x0e 0x04] # list type (list8), length = 14, fields = 4 | ||
| [0x40] # remote-channel = null | ||
| [0x52 0x01] # next-outgoing-id = 1 | ||
| [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 | ||
| [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 | ||
|
|
||
| read [0x00 0x00 0x00 0x1d] # size = 29 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x11] # performative = begin (17) | ||
| [0xc0 0x10 0x04] # list type (list8), length = 16, fields = 4 | ||
| [0x60 0x00 0x00] # remote-channel = 0 | ||
| [0x52 0x01] # next-outgoing-id = 1 | ||
| [0x70 0x00 0x01 0x00 0x00] # incoming-window = 65536 | ||
| [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 | ||
|
|
||
| # attach frame exchange | ||
| write [0x00 0x00 0x00 0x2a] # size = 42 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x12] # performative = attach (18) | ||
| [0xc0 0x1d 0x06] # list type (list8), length = 29, fields = 6 | ||
| [0xa1 0x05] "link1" # name = "link1" | ||
| [0x43] # handle = 0 | ||
| [0x41] # role = receiver | ||
| [0x50 0x01] # snd-settle-mode = settled | ||
| [0x50 0x00] # rcv-settle-mode = first | ||
| [0x00 0x53 0x28] # source | ||
| [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 | ||
| [0xa1 0x07] "clients" # address = "clients" | ||
|
|
||
| read [0x00 0x00 0x00 0x31] # size = 49 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x12] # performative = attach (18) | ||
| [0xc0 0x24 0x0a] # list type (list8), length = 36, fields = 10 | ||
| [0xa1 0x05] "link1" # name = "link1" | ||
| [0x43] # handle = 0 | ||
| [0x42] # role = sender | ||
| [0x50 0x01] # snd-settle-mode = settled | ||
| [0x50 0x00] # rcv-settle-mode = first | ||
| [0x00 0x53 0x28] # source | ||
| [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 | ||
| [0xa1 0x07] "clients" # address = "clients" | ||
| [0x00 0x53 0x29 0x45] # target = empty list | ||
| [0x40] # unsettled = null | ||
| [0x40] # incomplete-unsettled = null (default = false) | ||
| [0x43] # initial-delivery-count = 0 | ||
|
|
||
| # flow frame | ||
| write [0x00 0x00 0x00 0x1c] # size = 28 | ||
| [0x02] # doff = 2 | ||
| [0x00] # type = AMQP (0) | ||
| [0x00 0x00] # channel = 0 | ||
| [0x00 0x53 0x13] # performative = flow (19) | ||
| [0xc0 0x0f 0x04] # list type (list8), length = 15, fields = 4 | ||
| [0x52 0x01] # next-incoming-id = 1 | ||
| [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 | ||
| [0x52 0x01] # next-outgoing-id = 1 | ||
| [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 | ||
|
|
||
| write close | ||
| read closed |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.