Skip to content

Add UploadVhostDefinitions()#274

Merged
michaelklishin merged 2 commits into
michaelklishin:mainfrom
lescactus:feat/uploadvhostdefinitions
Jun 19, 2023
Merged

Add UploadVhostDefinitions()#274
michaelklishin merged 2 commits into
michaelklishin:mainfrom
lescactus:feat/uploadvhostdefinitions

Conversation

@lescactus

Copy link
Copy Markdown

Correspond to POST /api/definitions/vhost.

Basically similar to UploadDefinitions() but with specifying the vhost.

Correspond to POST /api/definitions/vhost

@michaelklishin michaelklishin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The newly added test fails on CI and locally. See ./bin/ci/before_build.sh.

Here are some details:

• [FAILED] [0.005 seconds]
RabbitMQ HTTP API client POST /api/definitions/vhost [It] should create queues and exchanges as specified in the definitions for vhost rabbit/hole
gopath/src/github.com/michaelklishin/rabbit-hole/rabbithole_test.go:4229

  [FAILED] Expected
      <string>:
  to equal
      <string>: rabbit/hole
  In [It] at: /gopath/src/github.com/michaelklishin/rabbit-hole/rabbithole_test.go:4256 @ 06/11/23 00:31:52.43
------------------------------

Summarizing 1 Failure:
  [FAIL] RabbitMQ HTTP API client POST /api/definitions/vhost [It] should create queues and exchanges as specified in the definitions for vhost rabbit/hole
  gopath/src/github.com/michaelklishin/rabbit-hole/rabbithole_test.go:4256

@lescactus

Copy link
Copy Markdown
Author

@michaelklishin The tests should be fixed now

@lescactus
lescactus requested a review from michaelklishin June 19, 2023 08:49
@michaelklishin
michaelklishin merged commit 1667f35 into michaelklishin:main Jun 19, 2023
@michaelklishin michaelklishin added this to the 2.16.0 milestone Jan 4, 2024
@lescactus
lescactus deleted the feat/uploadvhostdefinitions branch January 4, 2024 14:10
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.

3 participants