Skip to content
Snippets Groups Projects
Unverified Commit 3c21b937 authored by Elvys Soares's avatar Elvys Soares Committed by GitHub
Browse files

optimize: Changed exception check by JUnit API usage (#3589)

parent d28274d4
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单
- [[#3544](https://github.com/seata/seata/pull/3544)] 优化无法通过Statement#getGeneratedKeys时,只能获取到批量插入的第一个主键的问题
- [[#3549](https://github.com/seata/seata/pull/3549)] 统一不同表中的xid字段的长度
- [[#3551](https://github.com/seata/seata/pull/3551)] 调大RETRY_DEAD_THRESHOLD的值以及设置成可配置
- [[#3589](https://github.com/seata/seata/pull/3589)] 使用JUnit API做异常检查
### test
......@@ -115,7 +116,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单
- [xuande](https://github.com/xuande)
- [tanggen](https://github.com/tanggen)
- [dmego](https://github.com/dmego)
- [eas5](https://github.com/eas5)
同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
......
### 1.5.0
[source](https://github.com/seata/seata/archive/v1.5.0.zip) |
[binary](https://github.com/seata/seata/releases/download/v1.5.0/seata-server-1.5.0.zip)
<details>
<summary><mark>Release notes</mark></summary>
### Seata 1.5.0
Seata 1.5.0 Released.
Seata is an easy-to-use, high-performance, open source distributed transaction solution.
The version is updated as follows:
### feature:
- [[#3172](https://github.com/seata/seata/pull/3172)] support rollback info compress
- [[#3372](https://github.com/seata/seata/pull/3372)] Saga support customize whether update last retry log
- [[#3411](https://github.com/seata/seata/pull/3411)] support seata server thread pool parameters configuration
- [[#3348](https://github.com/seata/seata/pull/3348)] support redis sentinel mode
- [[#2667](https://github.com/seata/seata/pull/2667)] support password decryption
- [[#3427](https://github.com/seata/seata/pull/3427)] add distributed lock interface
### bugfix:
- [[#3258](https://github.com/seata/seata/pull/3258)] fix AsyncWorker potential OOM problem
- [[#3293](https://github.com/seata/seata/pull/3293)] configuration cache get value cast exception
- [[#3241](https://github.com/seata/seata/pull/3241)] forbidden use order by or limit in multi sql
- [[#3406](https://github.com/seata/seata/pull/3406)] fix the value can not be push to nacos when special charset in config.txt
- [[#3418](https://github.com/seata/seata/pull/3418)] fix getGeneratedKeys may get history pk
- [[#3408](https://github.com/seata/seata/pull/3408)] run with jar file and not package third lib into jar file, this.getClass().getClassLoader() will be null
- [[#3431](https://github.com/seata/seata/pull/3431)] fix property bean may not be initialized when reading configuration
- [[#3413](https://github.com/seata/seata/pull/3413)] fix the logic of rollback to savepoint and release to savepoint
- [[#3443](https://github.com/seata/seata/pull/3443)] send the `seata-server` log to `logstash` or `kafka`
### optimize:
- [[#3383](https://github.com/seata/seata/pull/3383)] optimize StatementProxyTest unit test
- [[#3341](https://github.com/seata/seata/pull/3341)] get config from file system even without file: prefix
- [[#3385](https://github.com/seata/seata/pull/3385)] optimize github action
- [[#3175](https://github.com/seata/seata/pull/3175)] improve UUIDGenerator using "history time" version of snowflake algorithm
- [[#3291](https://github.com/seata/seata/pull/3291)] mysql jdbc connect param
- [[#3336](https://github.com/seata/seata/pull/3336)] get netty config property from system properties
- [[#3369](https://github.com/seata/seata/pull/3369)] add github action secrets env for dockerHub
- [[#3343](https://github.com/seata/seata/pull/3343)] Migrate CI provider from Travis CI to Github Actions
- [[#3365](https://github.com/seata/seata/pull/3365)] optimize ParameterParserTest test case failed
- [[#3359](https://github.com/seata/seata/pull/3359)] remove unused test case
- [[#3397](https://github.com/seata/seata/pull/3397)] add the change records folder
- [[#3303](https://github.com/seata/seata/pull/3303)] supports reading all configurations from a single Nacos dataId
- [[#3317](https://github.com/seata/seata/pull/3317)] supports reading all configurations from a single Zookeeper node
- [[#3380](https://github.com/seata/seata/pull/3380)] globalTransactionScanner listener optimize
- [[#3123](https://github.com/seata/seata/pull/3123)] The server directory is build by version, and build only when the profile is release-seata
- [[#3415](https://github.com/seata/seata/pull/3415)] optimize maven clean plugin to clear the distribution directory
- [[#3316](https://github.com/seata/seata/pull/3316)] optimize the property bean may not be initialized while reading config value
- [[#3420](https://github.com/seata/seata/pull/3420)] optimize enumerated classes and add unit tests
- [[#3436](https://github.com/seata/seata/pull/3436)] optimize typo in SQLType class
### test
- [[#3381](https://github.com/seata/seata/pull/3381)] test case for tmClient
Thanks to these contributors for their code commits. Please report an unintended omission.
- [slievrly](https://github.com/slievrly)
- [selfishlover](https://github.com/selfishlover)
- [l8189352](https://github.com/l81893521)
- [hoverruan](https://github.com/hoverruan )
- [jsbxyyx](https://github.com/jsbxyyx)
- [caohdgege](https://github.com/caohdgege)
- [a364176773](https://github.com/a364176773)
- [anselleeyy](https://github.com/anselleeyy)
- [Ifdevil](https://github.com/Ifdevil)
- [Rubbernecker](https://github.com/Rubbernecker)
- [lvxianzheng](https://github.com/lvxianzheng)
- [lj2018110133](https://github.com/lj2018110133)
- [wangliang181230](https://github.com/wangliang181230)
- [xingfudeshi](https://github.com/xingfudeshi)
- [MentosL](https://github.com/MentosL)
- [lian88jian](https://github.com/lian88jian)
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
#### Link
- **Seata:** https://github.com/seata/seata
- **Seata-Samples:** https://github.com/seata/seata-samples
- **Release:** https://github.com/seata/seata/releases
- **WebSite:** https://seata.io
</details>
=======
### 1.5.0
[source](https://github.com/seata/seata/archive/v1.5.0.zip) |
......@@ -166,6 +69,7 @@
- [[#3415](https://github.com/seata/seata/pull/3415)] optimize maven clean plugin to clear the distribution directory
- [[#3316](https://github.com/seata/seata/pull/3316)] optimize the property bean may not be initialized while reading config value
- [[#3420](https://github.com/seata/seata/pull/3420)] optimize enumerated classes and add unit tests
- [[#3436](https://github.com/seata/seata/pull/3436)] optimize typo in SQLType class
- [[#3533](https://github.com/seata/seata/pull/3533)] added interface to get current transaction role
- [[#3436](https://github.com/seata/seata/pull/3436)] optimize typo in SQLType class
- [[#3439](https://github.com/seata/seata/pull/3439)] adjust the order of springApplicationContextProvider
......@@ -180,7 +84,7 @@
- [[#3544](https://github.com/seata/seata/pull/3544)] optimize the get pks by auto when auto generated keys is false
- [[#3549](https://github.com/seata/seata/pull/3549)] unified the length of xid in scripts
- [[#3551](https://github.com/seata/seata/pull/3551)] make RETRY_DEAD_THRESHOLD bigger and configurable
- [[#3589](https://github.com/seata/seata/pull/3589)] Changed exception check by JUnit API usage
### test
......@@ -212,7 +116,7 @@
- [xuande](https://github.com/xuande)
- [tanggen](https://github.com/tanggen)
- [dmego](https://github.com/dmego)
- [eas5](https://github.com/eas5)
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
......
......@@ -89,13 +89,8 @@ public class StringUtilsTest {
}
@Test
void testCycleDependency() {
CycleDependency A = CycleDependency.A;
try {
StringUtils.toString(A);
} catch (StackOverflowError e) {
Assertions.fail("stack overflow error");
}
void testCycleDependency() throws StackOverflowError{
StringUtils.toString(CycleDependency.A);
}
static class CycleDependency {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment