Skip to content

Commit f9bea59

Browse files
author
mbt1
committed
disabled fragile test (due to EXECUTE AS bug in SQL Server) on SQL Server 2008R2
1 parent 17b9754 commit f9bea59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests.EXTERNAL_ACCESS_KEY_EXISTS/EnableExternalAccessTests.class.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ BEGIN
129129
EXEC tSQLt.AssertLike @ExpectedPattern = 'The attempt to disable tSQLt features requiring EXTERNAL_ACCESS failed: %tSQLtCLR%', @Actual = @Actual;
130130
END;
131131
GO
132+
--[@tSQLt:MinSqlMajorVersion](11)
133+
-- There's a bug in SQL Server 2008R2 that makes the EXECUTE AS statement fail randomly. Disabling it on that version for now.
132134
CREATE PROCEDURE EnableExternalAccessTests.[test tSQLt.EnableExternalAccess returns -1, if @try = 1 and setting fails]
133135
AS
134136
BEGIN

0 commit comments

Comments
 (0)