Browse Source

[tests] dodge weird cache issue when cache shouldn't even exist

Rudy Ges 11 months ago
parent
commit
46c50dc2cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/display/src/RpcDisplayTestContext.hx

+ 1 - 1
tests/display/src/RpcDisplayTestContext.hx

@@ -112,7 +112,7 @@ class RpcDisplayTestContext extends BaseDisplayTestContext {
 
 
 	function callDisplay<TParams, TResponse>(method:HaxeRequestMethod<TParams, TResponse>, methodArgs:TParams):TResponse {
 	function callDisplay<TParams, TResponse>(method:HaxeRequestMethod<TParams, TResponse>, methodArgs:TParams):TResponse {
 		var methodArgs = {method: method, id: 1, params: methodArgs};
 		var methodArgs = {method: method, id: 1, params: methodArgs};
-		var args = ['--display', Json.stringify(methodArgs)];
+		var args = ['--display', Json.stringify(methodArgs), '-D', 'disable-hxb-cache'];
 
 
 		var result = BaseDisplayTestContext.runHaxe(args, source.content);
 		var result = BaseDisplayTestContext.runHaxe(args, source.content);
 		if (result.hasError || result.stderr == "") {
 		if (result.hasError || result.stderr == "") {