[MQ Goals] New pipeline files for event-hubs#6563
Conversation
|
@danieljurek Hi! This template is giving me this error: The error is related to the EVENTHUB_CONNECTION_STRING output. 🤔 |
|
The event hub tests assume that event hubs with certain names already exist in the namespace. From what I understand, the arm template will create a new Event Hub namespace for every test run. |
|
Looks like you can use the same ARM template to create things all the way down to the individual eventhub level: |
|
Oh this explains a lot. Yes, I can do this at this level. I'll put an update up. |
ramya-rao-a
left a comment
There was a problem hiding this comment.
The test-resources.json file is in the eventhub folder which contains 3 different projects
- event hubs
- eventhubs-checkpointstore-blob
- event processor host
Do we intend this file to apply to all 3 projects?
|
@ramya-rao-a that's the idea. Thanks for pointing that out, I haven't tested that this works in the others. We can split them up to make them individual, but so far we've been able to have one for all of the clients of a given service. This does add some delay to my progress, since I wasn't aware there were three packages for this service. |
|
The first two in the list can definitely share the same arm template |
|
@ramya-rao-a sounds good! please let me know what's this extra environment variable and I'll add it today. |
|
@ramya-rao-a the changes in this PR should be good to merge as soon as your PR is merged and Daniel Jurek work is also in 🌞 |
|
/azp run js - event-hubs - tests |
|
No pipelines are associated with this pull request. |
|
/azp run js - eventhubs-client - tests |
1 similar comment
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The tests are failing with Looks like the connection string is not being set in the right env variable |
|
@ramya-rao-a I'll be able to check this probably later if I don't get more feedback on the keyvault side. Otherwise tomorrow. |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
ha! Daniel Jurek helped me figure out what was wrong! yayyy |
|
/azp run js - eventhubs-processor - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@ramya-rao-a this is ready to be merged! 🎉 |
|
/azp run js - eventhubs-client - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
One test is failing on Windows 8. I'll study it later. |
|
@sadasant The failing test is not related to the set up, it is a flaky test. |
This definitely works for all of the released packages in the eventhubs folder! It took me some time to figure out everything we're doing in these tests, but I made it nonetheless! Please review 🌞
I removed the
EVENTHUB_NAMEs because these resources will be created before each environment specific test run, so there will always be a fresh event hub.Fixes #6651