Skip to content

Commit

Permalink
Merge pull request #121 from myyrakle/chore/#120
Browse files Browse the repository at this point in the history
[#120] v0.0.2 버전 배포
  • Loading branch information
myyrakle authored Jul 13, 2024
2 parents 13f5e2e + 99fd104 commit 8ddca50
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rrdb"
version = "0.0.1"
version = "0.0.2"
authors = ["myyrakle <sssang97@naver.com>"]
description = "ready"
keywords = ["db", "database", "sql"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rrdb

![](https://img.shields.io/badge/language-Rust-red) ![](https://img.shields.io/badge/version-0.0.1%20alpha-brightgreen) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/myyrakle/rrdb/blob/master/LICENSE)
![](https://img.shields.io/badge/language-Rust-red) ![](https://img.shields.io/badge/version-0.0.2%20alpha-brightgreen) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/myyrakle/rrdb/blob/master/LICENSE)

Rust-based RDB

Expand Down
18 changes: 10 additions & 8 deletions src/executor/initializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,21 +182,23 @@ impl Executor {

#[cfg(test)]
mod tests {
use mockall::predicate::eq;
#[cfg(target_os = "linux")]
#[tokio::test]
async fn test_init_config() {
use mockall::predicate::eq;

use crate::executor::mocking::{CommandRunner, FileSystem, MockCommandRunner, MockFileSystem};
use crate::executor::mocking::{
CommandRunner, FileSystem, MockCommandRunner, MockFileSystem,
};

use super::*;
use std::sync::Arc;
use super::*;
use std::sync::Arc;

const CONFIG: &[u8] = br##"port = 22208
const CONFIG: &[u8] = br##"port = 22208
host = "0.0.0.0"
data_directory = "/var/lib/rrdb/data"
"##;

#[cfg(target_os = "linux")]
#[tokio::test]
async fn test_init_config() {
use crate::constants::SYSTEMD_DAEMON_SCRIPT;

struct TestCase {
Expand Down
1 change: 1 addition & 0 deletions src/lexer/test/select.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(test)]
use crate::lexer::predule::OperatorToken;
#[cfg(test)]
use crate::lexer::predule::{Token, Tokenizer};
Expand Down

0 comments on commit 8ddca50

Please sign in to comment.