[Notification Service] String appended to Push URL

In PubsubEndpointHMACTests in createResourceInPartition(String partitionId)

 //Create a new subscription to pub/sub
        Subscription subscription = new Subscription();
        subscription.setName("subscription-integration-test-hmac");
        subscription.setDescription("subscription created for hmac integration test");
        subscription.setTopic(Config.Instance().Topic);       
        subscription.setPushEndpoint(Config.Instance().HMACPushUrl + "hmac-integration-test");       
        HmacSecret secret = new HmacSecret();
        secret.setValue(Config.Instance().hmacSecretValue);

        subscription.setSecret(secret);
        Subscription subscriptionCreated = subscriptionService.create(subscription);
        notificationId = subscriptionCreated.getNotificationId();
        subscriptionId = subscriptionCreated.getId();

        Config.Instance().NotificationId = notificationId;

The string "hmac-integration-test" is added at the end. This seems to be a bug:

subscription.setPushEndpoint(Config.Instance().HMACPushUrl + "hmac-integration-test");

The Push endpoint needs to match the one running in RegisterService

This should be replaced by: subscription.setPushEndpoint(Config.Instance().HMACPushUrl);

Edited by Rucha Deshpande