提交 8dc82b96 编写于 作者: S Sam Brannen

Re-enable @Ignore'd TxMgt integration test

See: gh-12857
上级 625e2106
......@@ -21,7 +21,6 @@ import java.util.Collections;
import java.util.List;
import javax.sql.DataSource;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.aop.Advisor;
......@@ -51,6 +50,7 @@ import static org.junit.Assert.*;
* Integration tests for the @EnableTransactionManagement annotation.
*
* @author Chris Beams
* @author Sam Brannen
* @since 3.1
*/
@SuppressWarnings("resource")
......@@ -89,13 +89,9 @@ public class EnableTransactionManagementIntegrationTests {
assertTxProxying(ctx);
}
@Ignore @Test // TODO SPR-8207
@Test
public void repositoryIsTxProxy_withNonConventionalTxManagerName_fallsBackToByTypeLookup() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
ctx.register(Config.class, NonConventionalTxManagerNameConfig.class);
ctx.refresh();
assertTxProxying(ctx);
assertTxProxying(new AnnotationConfigApplicationContext(Config.class, NonConventionalTxManagerNameConfig.class));
}
@Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册