зеркало из
1
0
Форкнуть 0

test(crud): remove restrictions that http based protocols can't support CA

This commit is contained in:
Anthony Ercolano 2021-06-25 00:19:58 -07:00 коммит произвёл Anthony V. Ercolano
Родитель be34c366ee
Коммит a91bdf90e7
1 изменённых файлов: 4 добавлений и 9 удалений

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

@ -28,25 +28,20 @@ var maximumMessageSize = ((256*1024)-512);
[
DeviceIdentityHelper.createDeviceWithSas,
DeviceIdentityHelper.createDeviceWithSymmetricKey,
DeviceIdentityHelper.createDeviceWithX509SelfSignedCert
DeviceIdentityHelper.createDeviceWithX509SelfSignedCert,
DeviceIdentityHelper.createDeviceWithX509CASignedCert
].forEach(function (createDeviceMethod) {
[
deviceHttp.Http,
deviceAmqp.Amqp,
deviceAmqp.AmqpWs,
deviceMqtt.Mqtt
deviceMqtt.Mqtt,
deviceMqtt.MqttWs
].forEach(function (deviceTransport) {
device_service_tests(deviceTransport, createDeviceMethod);
});
});
[
deviceAmqp.Amqp,
deviceMqtt.Mqtt
].forEach(function (deviceTransport) {
device_service_tests(deviceTransport, DeviceIdentityHelper.createDeviceWithX509CASignedCert);
});
function device_service_tests(deviceTransport, createDeviceMethod) {
describe('Over ' + deviceTransport.name + ' using device/service clients c2d with ' + createDeviceMethod.name + ' authentication', function () {
this.timeout(60000);