mirror of https://github.com/grpc/grpc-node.git
Re-enable two Node credentials tests
This commit is contained in:
parent
6e42a808da
commit
c3d28d42c2
|
@ -318,7 +318,7 @@ describe('client credentials', function() {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it.skip('should propagate errors that the updater emits', function(done) {
|
it('should propagate errors that the updater emits', function(done) {
|
||||||
var metadataUpdater = function(service_url, callback) {
|
var metadataUpdater = function(service_url, callback) {
|
||||||
var error = new Error('Authentication error');
|
var error = new Error('Authentication error');
|
||||||
error.code = grpc.status.UNAUTHENTICATED;
|
error.code = grpc.status.UNAUTHENTICATED;
|
||||||
|
@ -370,7 +370,7 @@ describe('client credentials', function() {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it.skip('should get an error from a Google credential', function(done) {
|
it('should get an error from a Google credential', function(done) {
|
||||||
var creds = grpc.credentials.createFromGoogleCredential(
|
var creds = grpc.credentials.createFromGoogleCredential(
|
||||||
fakeFailingGoogleCredentials);
|
fakeFailingGoogleCredentials);
|
||||||
var combined_creds = grpc.credentials.combineChannelCredentials(
|
var combined_creds = grpc.credentials.combineChannelCredentials(
|
||||||
|
|
Loading…
Reference in New Issue