Browse Source

update mysql test (#7331)

Redkale 3 years ago
parent
commit
b3b8bd60ac

+ 1 - 4
frameworks/Java/redkale/benchmark_config.json

@@ -75,13 +75,10 @@
                 "versus": "Redkale"
             },
             "mysql": {
-                "plaintext_url": "/plaintext",
-                "json_url": "/json",
                 "db_url": "/db",
                 "query_url": "/queries?q=", 
                 "fortune_url": "/fortunes",
-                "update_url2": "/updates?q=",
-                "cached_query_url": "/cached-worlds?q=",
+                "update_url": "/updates?q=",
                 "port": 8080,
                 "approach": "Realistic",
                 "classification": "Fullstack",

+ 1 - 4
frameworks/Java/redkale/config.toml

@@ -56,13 +56,10 @@ webserver = "Redkale"
 versus = "Redkale"
 
 [mysql]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
 urls.db = "/db"
 urls.fortune = "/fortunes"
 urls.query = "/queries?q="
-urls.update2 = "/updates?q="
-urls.cached_query = "/cached-worlds?q="
+urls.update = "/updates?q="
 approach = "Realistic"
 classification = "Fullstack"
 database = "MySQL"

+ 0 - 1
frameworks/Java/redkale/pom.xml

@@ -74,7 +74,6 @@
                 <version>1.1.0-SNAPSHOT</version>                                                
                 <configuration>		
                     <nativeimageArgs>
-                        <arg>--allow-incomplete-classpath</arg>
                         <arg>--no-fallback</arg>
                     </nativeimageArgs>
                 </configuration>                                    

+ 1 - 1
frameworks/Java/redkale/redkale-native.dockerfile

@@ -6,7 +6,7 @@ COPY pom.xml pom.xml
 RUN mvn package -q
 
 
-FROM ghcr.io/graalvm/graalvm-ce:21.3.0
+FROM ghcr.io/graalvm/graalvm-ce:ol8-java17-22.1.0-b1
 RUN gu install native-image
 WORKDIR /redkale
 COPY conf conf