Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit be9b84b

Browse files
fixed compile error
1 parent 74eaa58 commit be9b84b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/transfer/transfer-demo-protocols/src/test/java/com/microsoft/dagx/transfer/demo/protocols/DemoProtocolsTransferExtensionTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import com.microsoft.dagx.spi.types.domain.transfer.DataAddress;
1111
import com.microsoft.dagx.spi.types.domain.transfer.DataRequest;
1212
import com.microsoft.dagx.transfer.demo.protocols.spi.DemoProtocols;
13-
import com.microsoft.dagx.transfer.demo.protocols.spi.stream.DestinationManager;
13+
import com.microsoft.dagx.transfer.demo.protocols.stream.DemoTopicManager;
1414
import org.jetbrains.annotations.Nullable;
1515
import org.junit.jupiter.api.BeforeEach;
1616
import org.junit.jupiter.api.Disabled;
@@ -38,7 +38,7 @@ class DemoProtocolsTransferExtensionTest {
3838
* @param monitor the injected runtime monitor
3939
*/
4040
@Test
41-
void verifyPushStreamFlow(TransferProcessManager processManager, DestinationManager destinationManager, Monitor monitor) throws InterruptedException {
41+
void verifyPushStreamFlow(TransferProcessManager processManager, DemoTopicManager destinationManager, Monitor monitor) throws InterruptedException {
4242
var latch = new CountDownLatch(1);
4343

4444
var destinationName = UUID.randomUUID().toString();
@@ -52,9 +52,9 @@ void verifyPushStreamFlow(TransferProcessManager processManager, DestinationMana
5252
var dataRequest = DataRequest.Builder.newInstance()
5353
.id(UUID.randomUUID().toString())
5454
.protocol("loopback")
55-
.destinationType(DemoProtocols.PUSH_STREAM)
55+
.destinationType(DemoProtocols.PUSH_STREAM_WS)
5656
.dataEntry(dataEntry)
57-
.dataDestination(DataAddress.Builder.newInstance().type(DemoProtocols.PUSH_STREAM)
57+
.dataDestination(DataAddress.Builder.newInstance().type(DemoProtocols.PUSH_STREAM_WS)
5858
.property(DemoProtocols.DESTINATION_NAME, destinationName).build())
5959
.connectorId("test").build();
6060

0 commit comments

Comments
 (0)