Hi, dev community, PingCAP and DaoCloud friends

This mail has a very big attachment, including an all-in-one test package, 
built and organized by Xin Zhang. This including following things
1. The latest skywaylking distribution packaged by me, based on commit id, 
dc393b1c1258e458bf2ac8edf79059cae6090f0f
1. 4 demo applications with distributed dependency relationship.
1. JMeter to simulate the access to demo applications.
1. ElasticSearch to do as storage. But because I am using this to test MySQL as 
storage, but the default script is still starting this. 


I am sending this, in case you are willing to help us in testing MySQL 
compatible storage, right now, most likely, TiDB.
I also forward this to ShardingSphere community, in case you need this to run 
the tests.


# How to use this
1. Make sure JDK/JRE 8 installed. `java` and `javac` are ready to run
2. Unpackage the zip
3. Run `./deploy.sh`
4. Should be able to see all UI by opening http://127.0.0.1:8080


In case you want to restart, use `jps | awk '{print $1}' | xargs kill -9` to 
kill all java processes. (Notice, don't open IntelliJ in the tests, which is 
also a Java process).
 

The connection setting of mysql are
jdbcUrl=jdbc:mysql://localhost:3306/swtest
dataSource.user=root
dataSource.password=root@1234



If you want to change that, you need to `deploy.sh` script. Add this at line 38
> cp ${REPLACE_FILE_DIR}/datasource-settings.properties 
> ${SKYWALKING_COLLECTOR_10800}/config/datasource-settings.properties


The file content looks like this, which follows 
HikariCP(https://github.com/brettwooldridge/HikariCP) requirement.
jdbcUrl=jdbc:mysql://localhost:3306/swtest
dataSource.user=root
dataSource.password=root@1234
dataSource.cachePrepStmts=true
dataSource.prepStmtCacheSize=250
dataSource.prepStmtCacheSqlLimit=2048
dataSource.useServerPrepStmts=true
dataSource.useLocalSessionState=true
dataSource.rewriteBatchedStatements=true
dataSource.cacheResultSetMetadata=true
dataSource.cacheServerConfiguration=true
dataSource.elideSetAutoCommits=true
dataSource.maintainTimeStats=false



------------------
Sheng Wu
Apache SkyWalking, ShardingSphere, Zipkin
Twitter, wusheng1108


 

??QQ??????????????????

test-environment_6.x_run_in_single_mode.zip (651.73M, 2019??01??02?? 14:09 
????)??????????????http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=50363861916d7de44b5a5c6e42380b1c5554595205095c011d570e535d150d505305155902090d1e55075a56570d005252500e576413394755454c4c01564f5a4259560c01564d6c0618403e164d576c595867120d565e5f5569550e005d174959463815&code=068ad893

Reply via email to