8000 [#120] v0.0.2 버전 배포 by myyrakle · Pull Request #121 · myyrakle/rrdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[#120] v0.0.2 버전 배포 #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
0