Skip to content

Commit

Permalink
Restructure subscriber-with-optional-target tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Aug 7, 2024
1 parent bc92de7 commit 43fdd17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/tests/optional_subscriber_target_test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import ballerina/log;
import ballerina/test;

listener Listener optionalTargetListener = new (9094);
listener Listener optionalTargetListener = new (SUB_WITH_OPT_TARGET_PORT);

SubscriberService optionalSubscriberTarget = @SubscriberServiceConfig { leaseSeconds: 36000, secret: "Kslk30SNF2AChs2", unsubscribeOnShutdown: false }
service object {
Expand Down
1 change: 1 addition & 0 deletions ballerina/tests/test_ports.bal
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ const int BASE_PORT = 9400;
const int BASIC_SUB_PORT = BASE_PORT + 1;
const int SUB_WITH_DFLT_METHODS_PORT = BASE_PORT + 2;
const int SUB_WITH_ADDITIONAL_ERRDETAILS_PORT = BASE_PORT + 3;
const int SUB_WITH_OPT_TARGET_PORT = BASE_PORT + 4;

0 comments on commit 43fdd17

Please sign in to comment.