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

[ISSUE #3520]swapped the actual value and expected value. #3594

Closed
wants to merge 1 commit into from

Conversation

monish-byte
Copy link
Contributor

@monish-byte monish-byte commented Apr 1, 2023

Fixes #3520.

Motivation

Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.

Modifications

Describe the modifications you've done.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to the Apache EventMesh community!!
This is your first PR in our project. We're very excited to have you onboard contributing. Your contributions are greatly appreciated!

Please make sure that the changes are covered by tests.
We will be here shortly.
Let us know if you need any help!

Want to get closer to the community?

WeChat Assistant WeChat Public Account Slack
Join Slack Chat

Mailing Lists:

Name Description Subscribe Unsubscribe Archive
Users User support and questions mailing list Subscribe Unsubscribe Mail Archives
Development Development related discussions Subscribe Unsubscribe Mail Archives
Commits All commits to repositories Subscribe Unsubscribe Mail Archives
Issues Issues or PRs comments and reviews Subscribe Unsubscribe Mail Archives

Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

Hi @monish-byte Please link this pr to issue#3520, how to do this you can read this docment:https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.

@monish-byte
Copy link
Contributor Author

@mxsm i read the doc you send me. Followed the steps but i am not able to click on development as it is in text format. Please guide me through it.

@monish-byte monish-byte changed the title issue #3520 , swapped the actual value and expected value. issue#3520 , swapped the actual value and expected value. Apr 1, 2023
@mxsm
Copy link
Member

mxsm commented Apr 1, 2023

@monish-byte edit this pr first comment and modify Fixes #. to Fixes #3520. and pr title you can modify like this: [ISSUE #3520]swapped the actual value and expected value. Attention the space between ISSUE and #

@monish-byte monish-byte changed the title issue#3520 , swapped the actual value and expected value. issue #3520 , swapped the actual value and expected value. Apr 1, 2023
@monish-byte monish-byte changed the title issue #3520 , swapped the actual value and expected value. [ISSUE #3520]swapped the actual value and expected value. Apr 1, 2023
@Alonexc
Copy link
Contributor

Alonexc commented Apr 3, 2023

No changes are needed except for lines 63-87.

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.

Comment on lines +91 to +113
Assert.assertEquals(config.getEventMeshEnv(),"env-succeed!!!");
Assert.assertEquals(config.getEventMeshIDC(),"idc-succeed!!!");
Assert.assertEquals(config.getEventMeshCluster(),"cluster-succeed!!!");
Assert.assertEquals(config.getEventMeshName(),"name-succeed!!!");
Assert.assertEquals(config.getSysID(),"816");
Assert.assertEquals(config.getEventMeshConnectorPluginType(),"connector-succeed!!!");
Assert.assertEquals(config.getEventMeshStoragePluginType(),"storage-succeed!!!");
Assert.assertEquals(config.getEventMeshSecurityPluginType(),"security-succeed!!!");
Assert.assertEquals(config.getEventMeshRegistryPluginType(),"registry-succeed!!!");
Assert.assertEquals(config.getEventMeshTracePluginType(),"trace-succeed!!!");
Assert.assertEquals(config.getEventMeshServerIp(),"hostIp-succeed!!!");

List<String> list = new ArrayList<>();
list.add("metrics-succeed1!!!");
list.add("metrics-succeed2!!!");
list.add("metrics-succeed3!!!");
Assert.assertEquals(list, config.getEventMeshMetricsPluginType());
Assert.assertEquals(config.getEventMeshMetricsPluginType(),list);

Assert.assertTrue(config.isEventMeshServerSecurityEnable());
Assert.assertTrue(config.isEventMeshServerRegistryEnable());
Assert.assertTrue(config.isEventMeshServerTraceEnable());

Assert.assertEquals("eventmesh.idc-succeed!!!", config.getEventMeshWebhookOrigin());
Assert.assertEquals(config.getEventMeshWebhookOrigin(),"eventmesh.idc-succeed!!!");
Copy link
Member

Choose a reason for hiding this comment

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

Please restore the changes in these lines, the original order of 'expect' and 'actual' is correct.

@pandaapo
Copy link
Member

PR #4486 has fixed this issue better. So I close this PR. Thank you for your work.

@pandaapo pandaapo closed this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants