File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
src/test/java/org/fungover/haze/integration Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 72
72
<version >1.7.36</version >
73
73
<scope >test</scope >
74
74
</dependency >
75
- <!-- <dependency>-->
76
- <!-- <groupId>org.slf4j</groupId>-->
77
- <!-- <artifactId>slf4j-simple</artifactId>-->
78
- <!-- <version>1.7.36</version>-->
79
- <!-- <scope>test</scope>-->
80
- <!-- </dependency>-->
81
75
</dependencies >
82
76
<build >
83
77
<plugins >
Original file line number Diff line number Diff line change 9
9
import static org .assertj .core .api .Assertions .assertThat ;
10
10
11
11
@ ExtendWith (HazeExtension .class )
12
- public class HazeIT {
12
+ class HazeIT {
13
13
14
14
@ Pool
15
15
JedisPooled pool ;
@@ -87,17 +87,4 @@ void listKeyWithMultipleValues() {
87
87
pool .del ("test" );
88
88
assertThat (pool .exists ("right" )).isFalse ();
89
89
}
90
-
91
- // @Test
92
- // void unknownCommand() {
93
- // try (Socket socket = new Socket("localhost", port)) {
94
- // // socket.setSoTimeout(3000);
95
- // socket.getOutputStream().write("helloworld key value\r\n".getBytes(StandardCharsets.UTF_8));
96
- // BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
97
- //// assertThat(bufferedReader.readLine()).isEqualTo("-ERR unknown command 'helloworld', with args beginning with: 'key' 'value' ");
98
- // assertThat(bufferedReader.readLine()).isEqualTo("-ERR unknown command");
99
- // } catch (IOException e) {
100
- // throw new RuntimeException(e);
101
- // }
102
- // }
103
90
}
You can’t perform that action at this time.
0 commit comments