зеркало из
1
0
Форкнуть 0
This commit is contained in:
Amar Zavery 2018-05-02 15:21:30 -07:00
Родитель b87bc68214
Коммит f3c4191c50
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -68,7 +68,7 @@ describe("Misc tests", function () {
breceiver = BatchingReceiver.create((client as any)._context, partitionId, { eventPosition: EventPosition.fromEnqueuedTime(Date.now()) });
await client.send(obj, partitionId);
debug("Successfully sent the large message.");
const data = await breceiver.receive(5, 5);
const data = await breceiver.receive(5, 10);
await breceiver.close();
debug("received message: ", data);
should.exist(data);
@ -147,7 +147,7 @@ describe("Misc tests", function () {
}
});
it("should be able to send and receive batched messages correctly", async function () {
it("should be able to send and receive batched messages as JSON objects correctly", async function () {
try {
const partitionId = hubInfo.partitionIds[0];
breceiver = BatchingReceiver.create((client as any)._context, partitionId, { eventPosition: EventPosition.fromEnqueuedTime(Date.now()) });