testcontainers / testcontainers/testcontainers-java
[OracleContainer] Unable to execute statements which need system privileges
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 8.7k
- フォーク
- 1.9k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 9
説明
I just updated to testcontainers 1.16.2 with new OracleContainer setup.
Before I could use a initScript to create tablespaces, but now I'm not able to use system user anymore.
The system user has been disabled, but I need to create tablespaces, for which the test user doesn't have privileges.
I've tried to copy the initScript to the container with .withCopyFileToContainer(MountableFile.forClasspathResource("init.sql"), "container-entrypoint-startdb.d/"); but the script wasn't picked up when the container was started.
How should I proceed?
Thank you!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている OracleContainer のセットアップと initScript の処理を確認し、次に testcontainers 1.16.2 と init.sql を使って動作を再現します。system user を無効化した後に、システム権限を必要とする tablespace のセットアップがどのように実行される想定なのかを明らかにします。サポートされている初期化パスを文書化または復元し、コンテナテストで検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, java
- 領域
- databases, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100